public static enum MainViewModel.State extends Enum<MainViewModel.State>
Enum Constant and Description |
---|
CONNECTED |
CONNECTING |
FINISHED |
FINISHING |
GENERATED |
PROCESSING |
READY |
Modifier and Type | Method and Description |
---|---|
static MainViewModel.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MainViewModel.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MainViewModel.State READY
public static final MainViewModel.State CONNECTING
public static final MainViewModel.State CONNECTED
public static final MainViewModel.State GENERATED
public static final MainViewModel.State PROCESSING
public static final MainViewModel.State FINISHING
public static final MainViewModel.State FINISHED
public static MainViewModel.State[] values()
for (MainViewModel.State c : MainViewModel.State.values()) System.out.println(c);
public static MainViewModel.State 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 null