public static enum CronWorkflow.State extends Enum<CronWorkflow.State> implements WorkflowState
| Enum Constant and Description |
|---|
disabled |
doWork |
failed |
handleFailure |
schedule |
waitForWorkToFinish |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description of the workflow state.
|
WorkflowStateType |
getType()
Return the workflow state type.
|
static CronWorkflow.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CronWorkflow.State[] |
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, valueOfisRetryAllowed, namepublic static final CronWorkflow.State schedule
public static final CronWorkflow.State doWork
public static final CronWorkflow.State waitForWorkToFinish
public static final CronWorkflow.State handleFailure
public static final CronWorkflow.State disabled
public static final CronWorkflow.State failed
public static CronWorkflow.State[] values()
for (CronWorkflow.State c : CronWorkflow.State.values()) System.out.println(c);
public static CronWorkflow.State 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()
WorkflowStategetType in interface WorkflowStatepublic String getDescription()
WorkflowStateWorkflowState.name().getDescription in interface WorkflowStateCopyright © 2014–2021 Nitor Creations. All rights reserved.