public enum ProcessInstanceState extends Enum<ProcessInstanceState>
Enum Constant and Description |
---|
ABORTED |
ABORTING |
CANCELLED |
COMPLETED |
COMPLETING |
ERROR |
INITIALIZING |
STARTED |
SUSPENDED |
Modifier and Type | Method and Description |
---|---|
static ProcessInstanceState |
getFromId(int id) |
int |
getId() |
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)
Copyright © 2013 BonitaSoft. All Rights Reserved.