public enum WorkflowStateType extends Enum<WorkflowStateType>
| Enum Constant and Description |
|---|
end
Final state of the workflow.
|
manual
State that requires manual action.
|
normal
State that can be normally executed.
|
start
Initial states of the workflow.
|
wait
State for waiting something outside this instance to happen, including (but not limited to) child workflow instances to go to
end state.
|
| Modifier and Type | Method and Description |
|---|---|
WorkflowInstance.WorkflowInstanceStatus |
getStatus(org.joda.time.DateTime nextActivation)
Returns the status for this type.
|
boolean |
isFinal()
Returns true is the state of this type is a final state, e.g.
|
static WorkflowStateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowStateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowStateType start
public static final WorkflowStateType manual
public static final WorkflowStateType normal
public static final WorkflowStateType wait
public static final WorkflowStateType end
public static WorkflowStateType[] values()
for (WorkflowStateType c : WorkflowStateType.values()) System.out.println(c);
public static WorkflowStateType 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 boolean isFinal()
manual and end, false for
states of type start and normal.public WorkflowInstance.WorkflowInstanceStatus getStatus(org.joda.time.DateTime nextActivation)
nextActivation - The next activation for the instance.Copyright © 2014–2020 Nitor Creations. All rights reserved.