Enum QueueOfExecutables.EnqueueResult
- java.lang.Object
-
- java.lang.Enum<QueueOfExecutables.EnqueueResult>
-
- com.atlassian.bamboo.v2.build.queue.QueueOfExecutables.EnqueueResult
-
- All Implemented Interfaces:
Serializable
,Comparable<QueueOfExecutables.EnqueueResult>
- Enclosing interface:
- QueueOfExecutables
public static enum QueueOfExecutables.EnqueueResult extends Enum<QueueOfExecutables.EnqueueResult>
- Since:
- 9.3
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENQUEUED_COMMON
ENQUEUED_DEDICATED
FAILED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueueOfExecutables.EnqueueResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueueOfExecutables.EnqueueResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENQUEUED_COMMON
public static final QueueOfExecutables.EnqueueResult ENQUEUED_COMMON
-
ENQUEUED_DEDICATED
public static final QueueOfExecutables.EnqueueResult ENQUEUED_DEDICATED
-
FAILED
public static final QueueOfExecutables.EnqueueResult FAILED
-
-
Method Detail
-
values
public static QueueOfExecutables.EnqueueResult[] 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 (QueueOfExecutables.EnqueueResult c : QueueOfExecutables.EnqueueResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueueOfExecutables.EnqueueResult 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
-
-