com.atlassian.bamboo.buildqueue.manager
Enum AgentAssignmentMap.AgentAssignmentCheckResult

java.lang.Object
  extended by java.lang.Enum<AgentAssignmentMap.AgentAssignmentCheckResult>
      extended by com.atlassian.bamboo.buildqueue.manager.AgentAssignmentMap.AgentAssignmentCheckResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AgentAssignmentMap.AgentAssignmentCheckResult>
Enclosing class:
AgentAssignmentMap

public static enum AgentAssignmentMap.AgentAssignmentCheckResult
extends java.lang.Enum<AgentAssignmentMap.AgentAssignmentCheckResult>


Enum Constant Summary
AGENT_DOES_NOT_MEET_ASSIGNMENT_REQUIREMENTS
           
AGENT_EXCLUSIVELY_ASSIGNED_ELSEWHERE
           
AGENT_MEETS_ASSIGNMENT_REQUIREMENTS
           
NO_AGENT_ASSIGNMENTS
           
 
Method Summary
 boolean isCanExecute()
           
static AgentAssignmentMap.AgentAssignmentCheckResult valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

isCanExecute

public boolean isCanExecute()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.