Package com.atlassian.bamboo.buildqueue
Enum AgentAssignment.ExecutorType
- java.lang.Object
-
- java.lang.Enum<AgentAssignment.ExecutorType>
-
- com.atlassian.bamboo.buildqueue.AgentAssignment.ExecutorType
-
- All Implemented Interfaces:
Serializable
,Comparable<AgentAssignment.ExecutorType>
- Enclosing interface:
- AgentAssignment
public static enum AgentAssignment.ExecutorType extends Enum<AgentAssignment.ExecutorType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AgentAssignment.ExecutorType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AgentAssignment.ExecutorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AGENT
public static final AgentAssignment.ExecutorType AGENT
-
IMAGE
public static final AgentAssignment.ExecutorType IMAGE
-
EPHEMERAL
public static final AgentAssignment.ExecutorType EPHEMERAL
-
-
Method Detail
-
values
public static AgentAssignment.ExecutorType[] 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 (AgentAssignment.ExecutorType c : AgentAssignment.ExecutorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgentAssignment.ExecutorType 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
-
-