Enum AgentAssignmentMap.AgentAssignmentCheckResult
- java.lang.Object
-
- java.lang.Enum<AgentAssignmentMap.AgentAssignmentCheckResult>
-
- com.atlassian.bamboo.buildqueue.manager.AgentAssignmentMap.AgentAssignmentCheckResult
-
- All Implemented Interfaces:
Serializable
,Comparable<AgentAssignmentMap.AgentAssignmentCheckResult>
- Enclosing interface:
- AgentAssignmentMap
public static enum AgentAssignmentMap.AgentAssignmentCheckResult extends Enum<AgentAssignmentMap.AgentAssignmentCheckResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGENT_DOES_NOT_MEET_ASSIGNMENT_REQUIREMENTS
AGENT_EXCLUSIVELY_ASSIGNED_ELSEWHERE
AGENT_MEETS_ASSIGNMENT_REQUIREMENTS
NO_AGENT_ASSIGNMENTS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCanExecute()
static AgentAssignmentMap.AgentAssignmentCheckResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static AgentAssignmentMap.AgentAssignmentCheckResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AGENT_DOES_NOT_MEET_ASSIGNMENT_REQUIREMENTS
public static final AgentAssignmentMap.AgentAssignmentCheckResult AGENT_DOES_NOT_MEET_ASSIGNMENT_REQUIREMENTS
-
AGENT_MEETS_ASSIGNMENT_REQUIREMENTS
public static final AgentAssignmentMap.AgentAssignmentCheckResult AGENT_MEETS_ASSIGNMENT_REQUIREMENTS
-
AGENT_EXCLUSIVELY_ASSIGNED_ELSEWHERE
public static final AgentAssignmentMap.AgentAssignmentCheckResult AGENT_EXCLUSIVELY_ASSIGNED_ELSEWHERE
-
NO_AGENT_ASSIGNMENTS
public static final AgentAssignmentMap.AgentAssignmentCheckResult NO_AGENT_ASSIGNMENTS
-
-
Method Detail
-
values
public static AgentAssignmentMap.AgentAssignmentCheckResult[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AgentAssignmentMap.AgentAssignmentCheckResult c : AgentAssignmentMap.AgentAssignmentCheckResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgentAssignmentMap.AgentAssignmentCheckResult valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isCanExecute
public boolean isCanExecute()
-
-