com.atlassian.bamboo.plan
Enum PlanExecutionConfig.PlanExecutionType

java.lang.Object
  extended by java.lang.Enum<PlanExecutionConfig.PlanExecutionType>
      extended by com.atlassian.bamboo.plan.PlanExecutionConfig.PlanExecutionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PlanExecutionConfig.PlanExecutionType>
Enclosing interface:
PlanExecutionConfig

public static enum PlanExecutionConfig.PlanExecutionType
extends java.lang.Enum<PlanExecutionConfig.PlanExecutionType>

Type of repeated plan execution


Enum Constant Summary
CONTINUE
          Continue successful plan execution on manual stage where it stopped
ENFORCE_MANUAL_AS_AUTOMATIC
          Enforce executing manual stages as automatic ones
REGULAR
          Start regular plan execution
RESTART
          Retry failed plan execution on stage where build failed
 
Method Summary
static PlanExecutionConfig.PlanExecutionType valueOf(java.lang.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.
 
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

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


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(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


Copyright © 2011 Atlassian. All Rights Reserved.