Package com.atlassian.bamboo.plan
Enum PlanExecutionConfig.PlanExecutionType
- java.lang.Object
-
- java.lang.Enum<PlanExecutionConfig.PlanExecutionType>
-
- com.atlassian.bamboo.plan.PlanExecutionConfig.PlanExecutionType
-
- All Implemented Interfaces:
Serializable
,Comparable<PlanExecutionConfig.PlanExecutionType>
- Enclosing interface:
- PlanExecutionConfig
public static enum PlanExecutionConfig.PlanExecutionType extends Enum<PlanExecutionConfig.PlanExecutionType>
Type of repeated plan execution
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINUE
Continue successful plan execution on manual stage where it stoppedENFORCE_MANUAL_AS_AUTOMATIC
Enforce executing manual stages as automatic onesREGULAR
Start regular plan executionRERUN
Rerun plan executionRESTART
Retry failed plan execution on stage where build failed (or had incomplete jobs)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlanExecutionConfig.PlanExecutionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PlanExecutionConfig.PlanExecutionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGULAR
public static final PlanExecutionConfig.PlanExecutionType REGULAR
Start regular plan execution
-
CONTINUE
public static final PlanExecutionConfig.PlanExecutionType CONTINUE
Continue successful plan execution on manual stage where it stopped
-
RESTART
public static final PlanExecutionConfig.PlanExecutionType RESTART
Retry failed plan execution on stage where build failed (or had incomplete jobs)
-
RERUN
public static final PlanExecutionConfig.PlanExecutionType RERUN
Rerun plan execution
-
ENFORCE_MANUAL_AS_AUTOMATIC
public static final PlanExecutionConfig.PlanExecutionType ENFORCE_MANUAL_AS_AUTOMATIC
Enforce executing manual stages as automatic ones
-
-
Method Detail
-
values
public static PlanExecutionConfig.PlanExecutionType[] 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 (PlanExecutionConfig.PlanExecutionType c : PlanExecutionConfig.PlanExecutionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlanExecutionConfig.PlanExecutionType 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
-
-