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