public enum StepState extends java.lang.Enum<StepState> implements TriggerState<com.xebialabs.deployit.engine.api.execution.StepExecutionState>
| Enum Constant and Description |
|---|
ANY |
DONE |
EXECUTING |
FAILED |
PAUSED |
PENDING |
SKIP |
SKIPPED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equivalentTo(com.xebialabs.deployit.engine.api.execution.StepExecutionState spiState) |
boolean |
isValidTransition(StepState toState) |
static StepState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StepState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StepState ANY
public static final StepState PENDING
public static final StepState SKIP
public static final StepState EXECUTING
public static final StepState DONE
public static final StepState FAILED
public static final StepState PAUSED
public static final StepState SKIPPED
public static StepState[] values()
for (StepState c : StepState.values()) System.out.println(c);
public static StepState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean equivalentTo(com.xebialabs.deployit.engine.api.execution.StepExecutionState spiState)
equivalentTo in interface TriggerState<com.xebialabs.deployit.engine.api.execution.StepExecutionState>public boolean isValidTransition(StepState toState)