public enum ProcessInstanceState extends Enum<ProcessInstanceState>
ProcessInstance.getState()
Enum Constant and Description |
---|
ABORTED
The aborted state.
|
ABORTING
The aborting state.
|
CANCELLED
The cancelled state.
|
COMPLETED
The completed state.
|
COMPLETING
The completing state.
|
ERROR
The error state.
|
INITIALIZING
The initializing state.
|
STARTED
The started state.
|
SUSPENDED
The suspended state.
|
Modifier and Type | Method and Description |
---|---|
static ProcessInstanceState |
getFromId(int id)
Get the
ProcessInstanceState corresponding to the identifier. |
int |
getId()
Get the identifier corresponding to the state.
|
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 INITIALIZING
public static final ProcessInstanceState STARTED
public static final ProcessInstanceState SUSPENDED
public static final ProcessInstanceState CANCELLED
public static final ProcessInstanceState ABORTED
public static final ProcessInstanceState COMPLETING
public static final ProcessInstanceState COMPLETED
public static final ProcessInstanceState ERROR
public static final ProcessInstanceState ABORTING
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 nullpublic int getId()
public static ProcessInstanceState getFromId(int id)
ProcessInstanceState
corresponding to the identifier.ProcessInstanceState
corresponding to the identifier.Copyright © 2016 Bonitasoft S.A.. All rights reserved.