Groovy Documentation

com.ace.mws.nodes
[Groovy] Enum NodeAccessPolicy

java.lang.Object
  com.ace.mws.nodes.NodeAccessPolicy

enum NodeAccessPolicy

This enumeration describes how node resources will be shared by various tasks.


Enum Constant Summary
NONE

SHARED

Tasks from any combination of jobs may utilize available resources.

SHAREDONLY

Only jobs requesting shared node access may utilize available resources.

SINGLEJOB

Tasks from a single job may utilize available resourceses.

SINGLETASK

A single task from a single job may run on the node.

SINGLEUSER

Tasks from any jobs owned by the same user may utilize available resources.

UNIQUEUSER

Any number of tasks from a single job may allocate resources from a node but only if the user has no other jobs running on that node.

 
Property Summary
String moabLabel

String str

 
Constructor Summary
private NodeAccessPolicy(String moabLabel, String str)

 
Method Summary
String getMoabLabel()

static NodeAccessPolicy parseNodeAccessPolicyString(String nodeAccessPolicyString)

Parses a string and converts it into a NodeAccessPolicy enum value if possible.

String toString()

NodeAccessPolicy valueOf(String name)

Returns the enum constant of this type with the specified name.

NodeAccessPolicy[] 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

NONE

NodeAccessPolicy NONE


SHARED

NodeAccessPolicy SHARED
Tasks from any combination of jobs may utilize available resources.


SHAREDONLY

NodeAccessPolicy SHAREDONLY
Only jobs requesting shared node access may utilize available resources.


SINGLEJOB

NodeAccessPolicy SINGLEJOB
Tasks from a single job may utilize available resourceses.


SINGLETASK

NodeAccessPolicy SINGLETASK
A single task from a single job may run on the node.


SINGLEUSER

NodeAccessPolicy SINGLEUSER
Tasks from any jobs owned by the same user may utilize available resources.


UNIQUEUSER

NodeAccessPolicy UNIQUEUSER
Any number of tasks from a single job may allocate resources from a node but only if the user has no other jobs running on that node.


 
Property Detail

moabLabel

String moabLabel


str

String str


 
Constructor Detail

NodeAccessPolicy

private NodeAccessPolicy(String moabLabel, String str)


 
Method Detail

getMoabLabel

String getMoabLabel()


parseNodeAccessPolicyString

static NodeAccessPolicy parseNodeAccessPolicyString(String nodeAccessPolicyString)
Parses a string and converts it into a NodeAccessPolicy enum value if possible.
throws:
java.text.ParseException thrown if the String cannot be parsed.
Parameters:
nodeAccessPolicyString - the string to be parsed.
Returns:
the corresponding NodeAccessPolicy enum value.


toString

String toString()


valueOf

NodeAccessPolicy valueOf(String name)
Returns the enum constant of this type with the specified name.


values

NodeAccessPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation