public enum ProcessInstanceState extends Enum<ProcessInstanceState>
Enum Constant and Description |
---|
ENDED
Indicates that the process has been completed.
|
NOT_STARTED
Indicates that the process with this process instance has not yet been started.
|
STARTED
Indicates that the process is currently running.
|
SUSPENDED
Indicates that the process has been suspended until being waken up by someonce calling
signal . |
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 NOT_STARTED
public static final ProcessInstanceState STARTED
public static final ProcessInstanceState SUSPENDED
signal
.public static final ProcessInstanceState ENDED
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 © 2017. All rights reserved.