|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PowerPolicy>
com.ace.moab.api.node.PowerPolicy
public enum PowerPolicy
This enumeration represents the power policy to take when deciding about resource power.
Enum Constant Summary | |
---|---|
GREEN
Moab will attempt to power the server off if there is no workload currently running on it. |
|
STATIC
The power is handled manually. |
Method Summary | |
---|---|
static PowerPolicy |
parseString(java.lang.String string)
Parses a string and converts it into a PowerPolicy enum value if possible. |
static PowerPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PowerPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PowerPolicy GREEN
public static final PowerPolicy STATIC
Method Detail |
---|
public static final PowerPolicy[] values()
for(PowerPolicy c : PowerPolicy.values()) System.out.println(c);
public static PowerPolicy 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 namepublic static PowerPolicy parseString(java.lang.String string) throws java.text.ParseException
string
- the string to be parsed.
java.text.ParseException
- if the String cannot be parsed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |