| java.lang.Object org.jbpm.graph.def.GraphElement
All known Subclasses: org.jbpm.graph.def.ProcessDefinition, org.jbpm.graph.def.Transition, org.jbpm.taskmgmt.def.Task, org.jbpm.graph.def.Node,
Method Summary | |
public Event | addEvent(Event event) | public ExceptionHandler | addExceptionHandler(ExceptionHandler exceptionHandler) | void | addParentChain(List parentChain) | protected ExecuteActionJob | createAsyncActionExecutionJob(Token token, Action action) | public boolean | equals(Object o) | public void | executeAction(Action action, ExecutionContext executionContext) | void | executeActions(List actions, ExecutionContext executionContext, boolean isPropagated) | protected ExceptionHandler | findExceptionHandler(Throwable exception) | public void | fireAndPropagateEvent(String eventType, ExecutionContext executionContext) | public void | fireEvent(String eventType, ExecutionContext executionContext) | public String | getDescription() | public Event | getEvent(String eventType) | public Map | getEvents() gets the events, keyd by eventType (java.lang.String). | public List | getExceptionHandlers() is the list of exception handlers associated to this graph element. | public long | getId() | public String | getName() | public GraphElement | getParent() | public List | getParentChain() | public List | getParents() | public ProcessDefinition | getProcessDefinition() | List | getRuntimeActionsForEvent(ExecutionContext executionContext, String eventType) | abstract public String[] | getSupportedEventTypes() indicative set of event types supported by this graph element.
this is currently only used by the process designer to know which
event types to show on a given graph element. | public boolean | hasEvent(String eventType) | public boolean | hasEvents() | public void | raiseException(Throwable exception, ExecutionContext executionContext) throws an ActionException if no applicable exception handler is found.
An ExceptionHandler is searched for in this graph element and then recursively up the
parent hierarchy. | public Event | removeEvent(Event event) | public void | removeExceptionHandler(ExceptionHandler exceptionHandler) | public void | reorderExceptionHandler(int oldIndex, int newIndex) | public void | setDescription(String description) | public void | setName(String name) | public void | setProcessDefinition(ProcessDefinition processDefinition) | public String | toString() |
exceptionHandlers | protected List exceptionHandlers(Code) | | |
GraphElement | public GraphElement()(Code) | | |
addParentChain | void addParentChain(List parentChain)(Code) | | |
getEvents | public Map getEvents()(Code) | | gets the events, keyd by eventType (java.lang.String).
|
getExceptionHandlers | public List getExceptionHandlers()(Code) | | is the list of exception handlers associated to this graph element.
|
getId | public long getId()(Code) | | |
getParentChain | public List getParentChain()(Code) | | this graph element plus all the parents ordered by age. |
getParents | public List getParents()(Code) | | all the parents of this graph element ordered by age. |
getSupportedEventTypes | abstract public String[] getSupportedEventTypes()(Code) | | indicative set of event types supported by this graph element.
this is currently only used by the process designer to know which
event types to show on a given graph element. in process definitions
and at runtime, there are no contstraints on the event-types.
|
hasEvents | public boolean hasEvents()(Code) | | |
raiseException | public void raiseException(Throwable exception, ExecutionContext executionContext) throws DelegationException(Code) | | throws an ActionException if no applicable exception handler is found.
An ExceptionHandler is searched for in this graph element and then recursively up the
parent hierarchy.
If an exception handler is found, it is applied. If the exception handler does not
throw an exception, the exception is considered handled. Otherwise the search for
an applicable exception handler continues where it left of with the newly thrown
exception.
|
reorderExceptionHandler | public void reorderExceptionHandler(int oldIndex, int newIndex)(Code) | | |
setDescription | public void setDescription(String description)(Code) | | |
|
|