|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NodeOperation>
com.ace.moab.api.node.NodeOperation
public enum NodeOperation
This class represents an operation that can be taken on a given node.
Enum Constant Summary | |
---|---|
CREATE_VM
|
|
MIGRATE_VM
|
|
MODIFY_OS
|
|
POWER_OFF
|
|
POWER_ON
|
|
REBOOT
|
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
getNames()
Returns a collection of all the names of the enum values NodeOperation type. |
static NodeOperation |
parseNodeOperationString(java.lang.String nodeOperationString)
Parses a string and converts it into a NodeOperation enum value if possible. |
java.lang.String |
toString()
|
static NodeOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NodeOperation[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NodeOperation CREATE_VM
public static final NodeOperation MIGRATE_VM
public static final NodeOperation MODIFY_OS
public static final NodeOperation POWER_ON
public static final NodeOperation POWER_OFF
public static final NodeOperation REBOOT
Method Detail |
---|
public static final NodeOperation[] values()
for(NodeOperation c : NodeOperation.values()) System.out.println(c);
public static NodeOperation 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 NodeOperation parseNodeOperationString(java.lang.String nodeOperationString) throws java.text.ParseException
nodeOperationString
- the string to be parsed.
java.text.ParseException
- thrown if the String cannot be parsed.public static java.util.List<java.lang.String> getNames()
public java.lang.String toString()
toString
in class java.lang.Enum<NodeOperation>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |