Groovy Documentation

com.ace.mws.policies
[Groovy] Class NodeAllocationPolicy

java.lang.Object
  com.ace.mws.policies.NodeAllocationPolicy

class NodeAllocationPolicy

Node allocation is the process of selecting the best resources to allocate to a job from a list of available resources. Moab contains a number of allocation algorithms that address this in the NodeAllocationPolicy.

This class inherits fields from Policy.

Authors:
jpratt
See Also:
Policy


Field Summary
private Boolean conflicted

private String customPriorityFunction

Defines the priority function when the NodeAllocationAlgorithm.CustomPriority algorithm is used.

private String description

private String id

private String name

private NodeAllocationAlgorithm nodeAllocationAlgorithm

Configures the node allocation algorithm utilized when the policy is active.

private Set potentialConflicts

(String collection)

private Integer priority

private PolicyState state

private Set tags

(String collection)

private Set types

(String collection)

 
Constructor Summary
NodeAllocationPolicy()

 
Method Summary
Boolean getConflicted()

String getCustomPriorityFunction()

Defines the priority function when the NodeAllocationAlgorithm.CustomPriority algorithm is used.

String getDescription()

String getId()

String getName()

NodeAllocationAlgorithm getNodeAllocationAlgorithm()

Configures the node allocation algorithm utilized when the policy is active.

Set getPotentialConflicts()

(String collection)

Integer getPriority()

PolicyState getState()

Set getTags()

(String collection)

Set getTypes()

(String collection)

void setConflicted(Boolean conflicted)

void setCustomPriorityFunction(String customPriorityFunction)

Defines the priority function when the NodeAllocationAlgorithm.CustomPriority algorithm is used.

void setDescription(String description)

void setId(String id)

void setName(String name)

void setNodeAllocationAlgorithm(NodeAllocationAlgorithm nodeAllocationAlgorithm)

Configures the node allocation algorithm utilized when the policy is active.

void setPotentialConflicts(Set potentialConflicts)

(String collection)

void setPriority(Integer priority)

void setState(PolicyState state)

void setTags(Set tags)

(String collection)

void setTypes(Set types)

(String collection)

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

conflicted

private Boolean conflicted


customPriorityFunction

private String customPriorityFunction
Defines the priority function when the NodeAllocationAlgorithm.CustomPriority algorithm is used.


description

private String description


id

private String id


name

private String name


nodeAllocationAlgorithm

private NodeAllocationAlgorithm nodeAllocationAlgorithm
Configures the node allocation algorithm utilized when the policy is active. Defaults to NodeAllocationAlgorithm.NONE. When PolicyState.ENABLED, this must not be set to NONE.


potentialConflicts

private Set potentialConflicts
(String collection)


priority

private Integer priority


state

private PolicyState state


tags

private Set tags
(String collection)


types

private Set types
(String collection)


 
Constructor Detail

NodeAllocationPolicy

NodeAllocationPolicy()


 
Method Detail

getConflicted

Boolean getConflicted()


getCustomPriorityFunction

String getCustomPriorityFunction()
Defines the priority function when the NodeAllocationAlgorithm.CustomPriority algorithm is used.


getDescription

String getDescription()


getId

String getId()


getName

String getName()


getNodeAllocationAlgorithm

NodeAllocationAlgorithm getNodeAllocationAlgorithm()
Configures the node allocation algorithm utilized when the policy is active. Defaults to NodeAllocationAlgorithm.NONE. When PolicyState.ENABLED, this must not be set to NONE.


getPotentialConflicts

Set getPotentialConflicts()
(String collection)


getPriority

Integer getPriority()


getState

PolicyState getState()


getTags

Set getTags()
(String collection)


getTypes

Set getTypes()
(String collection)


setConflicted

void setConflicted(Boolean conflicted)


setCustomPriorityFunction

void setCustomPriorityFunction(String customPriorityFunction)
Defines the priority function when the NodeAllocationAlgorithm.CustomPriority algorithm is used.


setDescription

void setDescription(String description)


setId

void setId(String id)


setName

void setName(String name)


setNodeAllocationAlgorithm

void setNodeAllocationAlgorithm(NodeAllocationAlgorithm nodeAllocationAlgorithm)
Configures the node allocation algorithm utilized when the policy is active. Defaults to NodeAllocationAlgorithm.NONE. When PolicyState.ENABLED, this must not be set to NONE.


setPotentialConflicts

void setPotentialConflicts(Set potentialConflicts)
(String collection)


setPriority

void setPriority(Integer priority)


setState

void setState(PolicyState state)


setTags

void setTags(Set tags)
(String collection)


setTypes

void setTypes(Set types)
(String collection)


toString

String toString()


 

Groovy Documentation