|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<NodeSetPolicy>
com.ace.moab.api.node.NodeSetPolicy
public enum NodeSetPolicy
The Node Set Policy specifies how nodes will be allocated to the job from the various node set generated.
| Enum Constant Summary | |
|---|---|
ANYOF
Select resources from all sets contained in node set list. |
|
ONEOF
Select all sets that contain adequate resources to support job. |
|
| Method Summary | |
|---|---|
static java.util.List<java.lang.String> |
getpolicyNames()
Returns a list of the names of the node set policies. |
static NodeSetPolicy |
parseString(java.lang.String string)
Attempts to parse a string and convert it into a corresponding NodeSetPolicy enum value. |
static NodeSetPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NodeSetPolicy[] |
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 NodeSetPolicy ANYOF
public static final NodeSetPolicy ONEOF
| Method Detail |
|---|
public static final NodeSetPolicy[] values()
for(NodeSetPolicy c : NodeSetPolicy.values())
System.out.println(c);
public static NodeSetPolicy 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 java.util.List<java.lang.String> getpolicyNames()
public static NodeSetPolicy parseString(java.lang.String string)
throws java.text.ParseException
string - the string to parse into a corresponding NodeSetPolicy enum
value.
java.text.ParseException - thrown if the string cannot be parsed into a respective
NodeSetPolicy.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||