|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ResourceSetSelection>
com.ace.moab.api.resourceset.ResourceSetSelection
public enum ResourceSetSelection
This enumeration represents the selection type that can be used when looking at a set of resources for selection purposes on a job or other Moab object.
JobRequirement
Enum Constant Summary | |
---|---|
ANYOF
Select resources from all sets contained in node set list. |
|
FIRSTOF
Select first set found that contain adequate resources to support job. |
|
ONEOF
Select all sets that contain adequate resources to support job. |
Method Summary | |
---|---|
static ResourceSetSelection |
parseString(java.lang.String string)
Parses a string and converts it into a ResourceSetSelection enum value if possible. |
java.lang.String |
toString()
|
static ResourceSetSelection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ResourceSetSelection[] |
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 ResourceSetSelection ONEOF
public static final ResourceSetSelection ANYOF
public static final ResourceSetSelection FIRSTOF
Method Detail |
---|
public static final ResourceSetSelection[] values()
for(ResourceSetSelection c : ResourceSetSelection.values()) System.out.println(c);
public static ResourceSetSelection 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 java.lang.String toString()
toString
in class java.lang.Enum<ResourceSetSelection>
public static ResourceSetSelection parseString(java.lang.String string) throws java.text.ParseException
string
- the string to be parsed.
java.text.ParseException
- thrown if the String cannot be parsed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |