public enum ProcessInstanceState extends Enum<ProcessInstanceState>
Enum Constant and Description |
---|
CREATED
Process instance is in this state when created.
|
FINISHED
Process instance is in this state when it was finished either by
completion or interruption.
|
RUNNING
Process instance is in this state when initialized and running.
|
SUSPENDED
Process instance is in this state when suspended.
|
Modifier and Type | Method and Description |
---|---|
static ProcessInstanceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessInstanceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessInstanceState CREATED
public static final ProcessInstanceState RUNNING
public static final ProcessInstanceState SUSPENDED
public static final ProcessInstanceState FINISHED
public static ProcessInstanceState[] values()
for (ProcessInstanceState c : ProcessInstanceState.values()) System.out.println(c);
public static ProcessInstanceState 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 nullCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.