|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ThingsState>
things.thinger.kernel.ThingsState
public enum ThingsState
Things State. Use for process state management.
Version History
EPG - Initial - 26 JUN 05
Method Summary | |
---|---|
int |
getNumeric()
Get numeric. |
java.lang.String |
getText()
Get text. |
boolean |
isDeadOrDying()
Is dead or dying. |
boolean |
isHalting()
Is dead, dying, or a halt is requested. |
static ThingsState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ThingsState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ThingsState STATE_INVALID
public static final ThingsState STATE_CONSTRUCTION
public static final ThingsState STATE_NEW
public static final ThingsState STATE_ACTIVE_THRESHOLD
public static final ThingsState STATE_RUNNING
public static final ThingsState STATE_TRANSIT_THRESHOLD
public static final ThingsState STATE_PAUSE_REQUESTED
public static final ThingsState STATE_PAUSED
public static final ThingsState STATE_HALT_REQUESTED
public static final ThingsState STATE_HALT
public static final ThingsState STATE_DESTRUCTION
public static final ThingsState STATE_FOUL
public static final ThingsState STATE_KILLED
public static final ThingsState STATE_DONE
Method Detail |
---|
public static ThingsState[] values()
for (ThingsState c : ThingsState.values()) System.out.println(c);
public static ThingsState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int getNumeric()
public java.lang.String getText()
public boolean isDeadOrDying()
public boolean isHalting()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |