|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.lang.Enum net.dpml.lang.ValuedEnum net.dpml.station.ProcessState
Lifestyle policy enumeration.
Field Summary | |
static ProcessState |
IDLE
Idle state. |
static ProcessState |
STARTED
Started state. |
static ProcessState |
STARTING
Starting state. |
static ProcessState |
STOPPED
Started state. |
static ProcessState |
STOPPING
Started state. |
Method Summary | |
static ProcessState |
parse(String value)
Return a state value matching the supplied value. |
String |
toString()
Return a string representation of the state. |
static ProcessState[] |
values()
Returns an array of activation enum values. |
Methods inherited from class net.dpml.lang.ValuedEnum |
compareTo, equals, getValue, hashCode, isEqualTo, isGreaterThan, isGreaterThanOrEqual, isLessThan, isLessThanOrEqual |
Methods inherited from class net.dpml.lang.Enum |
getName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
Field Detail |
public static final ProcessState IDLE
public static final ProcessState STARTING
public static final ProcessState STARTED
public static final ProcessState STOPPING
public static final ProcessState STOPPED
Method Detail |
public static ProcessState[] values()
public String toString()
toString
in class ValuedEnum
public static ProcessState parse(String value) throws IllegalArgumentException
value
- the state name
IllegalArgumentException
- if the name if not recognized
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |