|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | PROPERTY | METHOD | DETAIL: ENUM CONSTANTS | FIELD | PROPERTY | METHOD | |||||||
java.lang.Objectcom.ace.mws.nodes.PowerPolicy
enum PowerPolicy
This enumeration represents the power policy to take when deciding about resource power.
| Enum Constant Summary | |
|---|---|
GREEN
@deprecated Use OnDemand instead. |
|
NONE
|
|
ONDEMAND
Moab will attempt to power the server off if there is no workload running on it. |
|
STATIC
The power is handled manually. |
|
| Property Summary | |
|---|---|
String |
humanReadable
|
String |
moabLabel
|
| Constructor Summary | |
private PowerPolicy(String moabLabel, String humanReadable)
|
|
| Method Summary | |
|---|---|
static PowerPolicy
|
parseString(String string)
Parses a string and converts it into a PowerPolicy enum value if possible. |
String
|
toString()
|
PowerPolicy
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
PowerPolicy[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Enum Constant Detail |
|---|
PowerPolicy GREEN
PowerPolicy NONE
PowerPolicy ONDEMAND
PowerPolicy STATIC
| Property Detail |
|---|
String humanReadable
String moabLabel
| Constructor Detail |
|---|
private PowerPolicy(String moabLabel, String humanReadable)
| Method Detail |
|---|
static PowerPolicy parseString(String string)
string
- the string to be parsed.
String toString()
PowerPolicy valueOf(String name)
PowerPolicy[] values()
Groovy Documentation