|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.smartcomps.twister.engine.priv.core.dynamic.impl.ExecutionContextImpl
Please put some JavaDoc here.
Field Summary | |
protected static org.apache.commons.logging.Log |
log
|
Fields inherited from interface org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext |
ACTIVE, CANCELED, COMPLETED, ENDED_CANCELED, ENDED_COMPLETED, ENDED_FAULTED, FAULTED, OPEN |
Constructor Summary | |
ExecutionContextImpl()
|
Method Summary | |
void |
addEvent(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionEvent event)
|
int |
compareTo(java.lang.Object o)
|
protected void |
completeChildren(org.smartcomps.twister.engine.priv.core.dynamic.StructuredEC ec)
|
org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstance |
fetchInstance()
Browse the hierarchy tree through all containers to fetch the process instance this execution context is included in. |
org.smartcomps.twister.engine.priv.core.dynamic.StructuredEC |
getContainer()
Returns the structured execution context containing this execution context (we could call it a parent execution context). |
java.util.Collection |
getEvents()
|
protected org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContextFactory |
getExecutionContextFactory()
|
java.lang.Long |
getId()
|
int |
getIndex()
TECHNICAL, DO NOT USE |
protected org.smartcomps.twister.engine.priv.core.definition.Activity |
getInitialActivity()
Gets this execution context initial activity (the one whose execution resulted in the creation of this execution context) passing through its parent container or process instance. |
org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstance |
getInstance()
Returns the ProcessInstance if this execution context is root or null otherwise. |
protected java.util.Set |
getProcessInstance()
TECHNICAL, DO NOT USE |
int |
getStatus()
|
protected org.smartcomps.twister.engine.priv.core.dynamic.impl.xao.VariableXAO |
getVariableXAO()
|
protected void |
notifyExecutionToContainer()
|
protected void |
notifyTerminationToContainer()
|
void |
setContainer(org.smartcomps.twister.engine.priv.core.dynamic.StructuredEC container)
|
void |
setEvents(java.util.Collection events)
|
void |
setId(java.lang.Long id)
|
void |
setIndex(int index)
TECHNICAL, DO NOT USE |
void |
setInstance(org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstance instance)
|
protected void |
setProcessInstance(java.util.Set processInstance)
TECHNICAL, DO NOT USE |
void |
setStatus(int status)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext |
execute |
Field Detail |
protected static org.apache.commons.logging.Log log
Constructor Detail |
public ExecutionContextImpl()
Method Detail |
public java.lang.Long getId()
getId
in interface ExecutionContext
public void setId(java.lang.Long id)
public int getStatus()
getStatus
in interface ExecutionContext
public void setStatus(int status)
setStatus
in interface ExecutionContext
public org.smartcomps.twister.engine.priv.core.dynamic.StructuredEC getContainer()
ExecutionContext
getContainer
in interface ExecutionContext
public void setContainer(org.smartcomps.twister.engine.priv.core.dynamic.StructuredEC container)
public java.util.Collection getEvents()
getEvents
in interface ExecutionContext
public void setEvents(java.util.Collection events)
public void addEvent(org.smartcomps.twister.engine.priv.core.dynamic.ExecutionEvent event)
public org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstance getInstance()
ExecutionContext
getInstance
in interface ExecutionContext
public void setInstance(org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstance instance)
protected java.util.Set getProcessInstance()
protected void setProcessInstance(java.util.Set processInstance)
public int getIndex()
public void setIndex(int index)
protected org.smartcomps.twister.engine.priv.core.definition.Activity getInitialActivity()
public org.smartcomps.twister.engine.priv.core.dynamic.ProcessInstance fetchInstance()
ExecutionContext
fetchInstance
in interface ExecutionContext
protected void notifyExecutionToContainer()
protected void notifyTerminationToContainer()
protected void completeChildren(org.smartcomps.twister.engine.priv.core.dynamic.StructuredEC ec)
protected org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContextFactory getExecutionContextFactory()
protected org.smartcomps.twister.engine.priv.core.dynamic.impl.xao.VariableXAO getVariableXAO()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |