|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.mws.policies.Policy
class Policy
A Moab Workload Manager policy which can affect scheduling decisions
such as resource allocation. A policy contains state, identifying
information, a priority, and metadata about the policy.
Available policies:
Field Summary | |
---|---|
private Boolean |
conflicted
Signifies whether any other policies are currently activated that potentially conflict with this policy. |
private String |
description
The user friendly description of the policy. |
private String |
id
The unique identifier for the policy. |
private String |
name
The user friendly name of the policy. |
private Set |
potentialConflicts
(String collection) A set of policy IDs that may potentially conflict with this policy. |
private Integer |
priority
Indicates the absolute priority of the policy with respect to others. |
private PolicyState |
state
Defines the current state of the policy: enabled or disabled. |
private Set |
tags
(String collection) A set of strings that can be used to aid in filtering or querying policies. |
private Set |
types
(String collection) A set of categories or types that the policy is included in. |
Constructor Summary | |
Policy()
|
Method Summary | |
---|---|
Boolean
|
getConflicted()
Signifies whether any other policies are currently activated that potentially conflict with this policy. |
String
|
getDescription()
The user friendly description of the policy. |
String
|
getId()
The unique identifier for the policy. |
String
|
getName()
The user friendly name of the policy. |
Set
|
getPotentialConflicts()
(String collection) A set of policy IDs that may potentially conflict with this policy. |
Integer
|
getPriority()
Indicates the absolute priority of the policy with respect to others. |
PolicyState
|
getState()
Defines the current state of the policy: enabled or disabled. |
Set
|
getTags()
(String collection) A set of strings that can be used to aid in filtering or querying policies. |
Set
|
getTypes()
(String collection) A set of categories or types that the policy is included in. |
void
|
setConflicted(Boolean conflicted)
Signifies whether any other policies are currently activated that potentially conflict with this policy. |
void
|
setDescription(String description)
The user friendly description of the policy. |
void
|
setId(String id)
The unique identifier for the policy. |
void
|
setName(String name)
The user friendly name of the policy. |
void
|
setPotentialConflicts(Set potentialConflicts)
(String collection) A set of policy IDs that may potentially conflict with this policy. |
void
|
setPriority(Integer priority)
Indicates the absolute priority of the policy with respect to others. |
void
|
setState(PolicyState state)
Defines the current state of the policy: enabled or disabled. |
void
|
setTags(Set tags)
(String collection) A set of strings that can be used to aid in filtering or querying policies. |
void
|
setTypes(Set types)
(String collection) A set of categories or types that the policy is included in. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
private Boolean conflicted
private String description
private String id
private String name
private Set potentialConflicts
private Integer priority
private PolicyState state
private Set tags
private Set types
Constructor Detail |
---|
Policy()
Method Detail |
---|
Boolean getConflicted()
String getDescription()
String getId()
String getName()
Set getPotentialConflicts()
Integer getPriority()
PolicyState getState()
Set getTags()
Set getTypes()
void setConflicted(Boolean conflicted)
void setDescription(String description)
void setId(String id)
void setName(String name)
void setPotentialConflicts(Set potentialConflicts)
void setPriority(Integer priority)
void setState(PolicyState state)
void setTags(Set tags)
void setTypes(Set types)
String toString()
Groovy Documentation