|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.papi.InstanceItemState
Enumeration of Instance Item State (Task).
Contains all valid status values for a process instance item.
| Field Summary | |
static int |
ACTIVITY_COMPLETED
All Task of the activity was executed. |
static int |
COMPLETED
Task completed. |
static int |
FAILED
Task failed. |
static int |
INSTANCE_ROUTED
Instance routed |
static int |
PENDING
Task pending to execute. |
static int |
RUNNING
Task running. |
static int |
SELECTED
Task selected. |
static int |
WAS_COMPLETED
Repeatable task executed. |
| Constructor Summary | |
InstanceItemState()
|
|
| 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 String |
getName(int val)
Gets the name of the specified state number. |
static boolean |
is(int state,
int mask)
Returns if the mask contains the instance state number. |
static void |
main(String[] args)
|
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 PENDING
public static final int FAILED
public static final int INSTANCE_ROUTED
public static final int COMPLETED
public static final int SELECTED
public static final int RUNNING
public static final int ACTIVITY_COMPLETED
public static final int WAS_COMPLETED
| Constructor Detail |
public InstanceItemState()
| 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 String getName(int val)
val - state number to check.
public static boolean is(int state,
int mask)
state - state to check.mask - mask to check.
true if the mask contains the state number.public static void main(String[] args)
public static int valueOf(String id)
id - state Id to check.
|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||