|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.common.IntKey
org.eclipse.stardust.engine.api.runtime.ProcessInstanceState
public class ProcessInstanceState
A representation of the state of an process instance. This class also provides human readable values for the process instance states. An process instance changes its state in the course of processing as follows:
Created.
Active
Completed.
Interrupted as an intermediate state if there were system level
exception during execution of one of the activity instances.
Aborted as a termination state for non successful completion.
| Field Summary | |
|---|---|
static ProcessInstanceState |
Aborted
|
static int |
ABORTED
The process instance has been aborted. |
static ProcessInstanceState |
Aborting
|
static int |
ABORTING
The process instance is in progress of being aborted directly by a user. |
static ProcessInstanceState |
Active
|
static int |
ACTIVE
The process instance is running. |
static ProcessInstanceState |
Completed
|
static int |
COMPLETED
The process instance has been completed. |
static ProcessInstanceState |
Created
|
static int |
CREATED
The process instance has just been created. |
static ProcessInstanceState |
Halted
|
static int |
HALTED
The process instance has been halted. |
static ProcessInstanceState |
Halting
|
static int |
HALTING
The process instance is in progress of being halted directly by a user. |
static ProcessInstanceState |
Interrupted
|
static int |
INTERRUPTED
The process instance is interrupted - one of it's activity instances is interrupted. |
| Method Summary | |
|---|---|
static Set<ProcessInstanceState> |
getAllStates()
|
static ProcessInstanceState |
getState(int value)
Factory method to get the ProcessInstanceState corresponding to the given code. |
| Methods inherited from class org.eclipse.stardust.common.IntKey |
|---|
compareTo, equals, getKey, getKeys, getName, getValue, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CREATED
public static final int ACTIVE
public static final int ABORTED
public static final int COMPLETED
public static final int INTERRUPTED
public static final int ABORTING
public static final int HALTING
public static final int HALTED
public static final ProcessInstanceState Created
public static final ProcessInstanceState Active
public static final ProcessInstanceState Aborted
public static final ProcessInstanceState Completed
public static final ProcessInstanceState Interrupted
public static final ProcessInstanceState Aborting
public static final ProcessInstanceState Halting
public static final ProcessInstanceState Halted
| Method Detail |
|---|
public static Set<ProcessInstanceState> getAllStates()
ProcessInstanceStatepublic static ProcessInstanceState getState(int value)
value - one of the ProcessInstanceState codes.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||