|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfuego.papi.ProcessInstanceState
public class ProcessInstanceState
Enumerates the different process instance's status.
It can be:RUNNING
: the instance is beeing executed.EXCEPTION
: the instance was sent to an exception (in an exception flow).SUSPENDED
: the instance was suspended.GRABBED
: the instance was grabbed (in a Grab activity).COMPLETED
: the instance finished its flow.ABORTED
: the instance was aborted.ACTIVITY_COMPLETED
: the instance has been completed the activity.NONE
: no status assigned.
Field Summary | |
---|---|
static int |
ABORTED
The instance was aborted. |
static int |
ACTIVITY_COMPLETED
The instance has been completed the activity. |
static int |
COMPLETED
The instance finished its flow. |
static int |
EXCEPTION
The instance was sent to an exception (in an exception flow). |
static int |
GRABBED
The instance was grabbed (in a Grab activity). |
static int |
NONE
Instance without status assigned. |
static int |
RUNNING
The instance is beeing executed. |
static int |
SUSPENDED
The instance was suspended. |
Constructor Summary | |
---|---|
ProcessInstanceState()
|
Method Summary | |
---|---|
static String |
getDescription(int state,
Locale locale)
Gets the localize description of the specified state number. |
static String |
getId(int val)
Gets the Id of the specified state number. |
static int[] |
getLocaleGrabValues()
For internal use only. |
static int[] |
getValues()
Returns all valid values |
static int |
valueOf(String id)
Returns the state number for the specified state Id. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NONE
public static final int RUNNING
public static final int EXCEPTION
public static final int SUSPENDED
public static final int GRABBED
public static final int COMPLETED
public static final int ABORTED
public static final int ACTIVITY_COMPLETED
Constructor Detail |
---|
public ProcessInstanceState()
Method Detail |
---|
public static String getDescription(int state, Locale locale)
state
- state to obtain which description.locale
- the desired locale.
public static String getId(int val)
val
- state number to check.
public static int[] getLocaleGrabValues()
public static int valueOf(String id)
id
- state Id to check.
public static int[] getValues()
|
ALBPM Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |