|
||||||||||
| 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 org.jbpm.api.Execution |
|---|
STATE_ACTIVE_CONCURRENT, STATE_ACTIVE_ROOT, STATE_ASYNC, STATE_CREATED, STATE_ENDED, STATE_INACTIVE_CONCURRENT_ROOT, STATE_INACTIVE_JOIN, STATE_INACTIVE_SCOPE, STATE_SUSPENDED |
| Method Summary | ||
|---|---|---|
void |
fire(java.lang.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. |
|
|
getExtension(java.lang.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 org.jbpm.api.model.OpenExecution |
|---|
createVariable, createVariable, findActiveExecutionIn, getExecution, getParent, getProcessDefinition, getProcessInstance, getSubProcessInstance, getVariable, getVariableKeys, getVariables, hasVariable, hasVariables, removeVariable, removeVariables, setState, setVariable, setVariables |
| Methods inherited from interface org.jbpm.api.Execution |
|---|
findActiveActivityNames, getExecutions, getExecutionsMap, getId, getKey, getName, getPriority, getProcessDefinitionId, getState, hasExecution, isActive, isEnded, isProcessInstance, isSuspended |
| Methods inherited from interface org.jbpm.api.model.Discussable |
|---|
createComment, getComments, removeComment |
| Method Detail |
|---|
ObservableElement getEventSource()
ActivityBehaviour, but the eventSource can also
be a child of the object to which is listened in case of event propagation.
Event getEvent()
Transition getTransition()
void fire(java.lang.String eventName,
ObservableElement eventSource)
getEventSource(), event if the events are
registered to parent's of the given eventSource.
<T> T getExtension(java.lang.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 | |||||||||