public enum ApplicationState extends Enum<ApplicationState>
| Modifier and Type | Method and Description |
|---|---|
static ApplicationState |
fromString(String stateStr)
Returns corresponding application state.
|
String |
toString() |
static ApplicationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationState STARTED
public static final ApplicationState STOPED
public static final ApplicationState PAUSED
public static ApplicationState[] values()
for (ApplicationState c : ApplicationState.values()) System.out.println(c);
public static ApplicationState 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 String toString()
toString in class Enum<ApplicationState>public static ApplicationState fromString(String stateStr)
stateStr - a application state in a string formatCopyright © 2012-2013 ADELE Research Group. All Rights Reserved.