public enum StatusOptions extends Enum<StatusOptions>
| Enum Constant and Description |
|---|
CREATING
Enum value Creating.
|
PENDING
Enum value Pending.
|
READY
Enum value Ready.
|
| Modifier and Type | Method and Description |
|---|---|
static StatusOptions |
fromString(String value)
Parses a serialized value to a StatusOptions instance.
|
String |
toString() |
static StatusOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusOptions READY
public static final StatusOptions PENDING
public static final StatusOptions CREATING
public static StatusOptions[] values()
for (StatusOptions c : StatusOptions.values()) System.out.println(c);
public static StatusOptions valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static StatusOptions fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<StatusOptions>Copyright © 2019. All rights reserved.