|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.dpml.lang.Enum
net.dpml.station.info.StartupPolicy
public final class StartupPolicy
Lifestyle policy enumeration.
Field Summary | |
---|---|
static StartupPolicy |
AUTOMATIC
Automatic startup policy. |
static StartupPolicy |
DISABLED
Disable policy. |
static StartupPolicy |
MANUAL
Manual startup policy. |
Method Summary | |
---|---|
static StartupPolicy |
parse(String value)
Return a startup policy matching the supplied value. |
String |
toString()
Return a string representation of the scope. |
static StartupPolicy[] |
values()
Returns an array of activation enum values. |
Methods inherited from class net.dpml.lang.Enum |
---|
equals, getName, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final StartupPolicy DISABLED
public static final StartupPolicy MANUAL
public static final StartupPolicy AUTOMATIC
Method Detail |
---|
public static StartupPolicy[] values()
public String toString()
toString
in class Enum
public static StartupPolicy parse(String value) throws NullPointerException, IllegalArgumentException
value
- the policy name
NullPointerException
- if the value if null
IllegalArgumentException
- if the value if not recognized
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |