public static enum ConstantWorkflow.ConstantState extends Enum<ConstantWorkflow.ConstantState> implements WorkflowState
Enum Constant and Description |
---|
end |
error |
quickState |
retryTwiceState |
scheduleState |
slowState |
start |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Return the description of the workflow state.
|
WorkflowStateType |
getType()
Return the workflow state type.
|
static ConstantWorkflow.ConstantState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstantWorkflow.ConstantState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final ConstantWorkflow.ConstantState start
public static final ConstantWorkflow.ConstantState quickState
public static final ConstantWorkflow.ConstantState retryTwiceState
public static final ConstantWorkflow.ConstantState scheduleState
public static final ConstantWorkflow.ConstantState slowState
public static final ConstantWorkflow.ConstantState end
public static final ConstantWorkflow.ConstantState error
public static ConstantWorkflow.ConstantState[] values()
for (ConstantWorkflow.ConstantState c : ConstantWorkflow.ConstantState.values()) System.out.println(c);
public static ConstantWorkflow.ConstantState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic WorkflowStateType getType()
WorkflowState
getType
in interface WorkflowState
public String getDescription()
WorkflowState
getDescription
in interface WorkflowState
Copyright © 2014–2017 Nitor Creations. All rights reserved.