|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An instance of a static definition of the process, represents and execution of the process.
Field Summary | |
static int |
ACTIVE
The Process Instance is currently running. |
static int |
CANCELED
The Process Instance received a cancellation signal from a user or another service. |
static int |
COMPLETED
The Execution Context has been properly completed. |
static int |
FAULTED
An error occured that prevented the Process Instance to finish its execution properly. |
static int |
OPEN
The Process Instance has been created but is not active yet, not doing its job (like waiting for a message, invoking a service or looping). |
Method Summary | |
org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext |
getChildExecutionContext()
|
java.util.Collection |
getEvents()
|
java.lang.Long |
getId()
|
org.smartcomps.twister.engine.priv.core.definition.TwisterProcess |
getProcess()
|
java.util.Collection |
getProperties()
|
org.smartcomps.twister.engine.priv.core.dynamic.ValuedProperty |
getPropertyFromName(java.lang.String name)
Gets the ValuedProperty with given name. |
int |
getStatus()
|
void |
notifyExecution(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
|
void |
notifyTermination(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
|
Field Detail |
public static final int OPEN
public static final int ACTIVE
public static final int COMPLETED
public static final int CANCELED
public static final int FAULTED
Method Detail |
public java.lang.Long getId()
public org.smartcomps.twister.engine.priv.core.definition.TwisterProcess getProcess()
public org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext getChildExecutionContext()
public int getStatus()
public java.util.Collection getEvents()
public java.util.Collection getProperties()
public org.smartcomps.twister.engine.priv.core.dynamic.ValuedProperty getPropertyFromName(java.lang.String name)
name
-
public void notifyExecution(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
public void notifyTermination(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext ec)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |