|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventListenerExecution
view upon an path of execution exposed to
EventListener implementations.
| Field Summary |
|---|
| Fields inherited from interface Execution |
|---|
STATE_ACTIVE, STATE_ASYNC, STATE_CANCELLED, STATE_CREATED, STATE_ENDED, STATE_INACTIVE, STATE_SUSPENDED |
| Method Summary | ||
|---|---|---|
void |
addLog(ProcessLog processLog)
adds a log to this execution. |
|
void |
fire(String eventName,
ObservableElement eventSource)
fires the event on the given eventSource and then propagates the event up to the eventSource's parent chain. |
|
Event |
getEvent()
the event that is being fired, part of the current position in the process graph. |
|
ObservableElement |
getEventSource()
the original object that fired the event, part of the current position in the process graph. |
|
Exception |
getException()
the exception in case an exception handler is handling an exception. |
|
|
getExtension(Class<T> extensionClass)
way to access process language extensions in the execution without having to cast. |
|
Transition |
getTransition()
the current transition indicating the position in the process definition graph. |
|
void |
setPriority(int priority)
setter for the priority. |
|
| Methods inherited from interface OpenExecution |
|---|
createVariable, createVariable, getExecution, getExecutions, getExecutionsMap, getNode, getParent, getProcessDefinition, getProcessInstance, getSubProcessInstance, getTimers, getVariable, getVariableKeys, getVariables, hasExecution, hasTimers, hasVariable, hasVariables, removeVariable, removeVariables, setVariable, setVariables |
| Methods inherited from interface Execution |
|---|
getDbid, getId, getKey, getName, getNodeName, getPriority, getState, isActive, isEnded, isFinished, isLocked, isSuspended |
| Methods inherited from interface Discussable |
|---|
createComment, getComments, removeComment |
| Method Detail |
|---|
void addLog(ProcessLog processLog)
Transition getTransition()
void fire(String eventName,
ObservableElement eventSource)
getEventSource(), event if the events are
registered to parent's of the given eventSource.
Exception getException()
ObservableElement getEventSource()
Activity, but the eventSource can also
be a child of the object to which is listened in case of event propagation.
Event getEvent()
<T> T getExtension(Class<T> extensionClass)
void setPriority(int priority)
setPriority in interface OpenExecution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||