|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.graph.exe.ExecutionContext
Field Summary | |
protected Action |
action
|
protected Event |
event
|
protected GraphElement |
eventSource
|
protected java.lang.Throwable |
exception
|
protected Task |
task
|
protected TaskInstance |
taskInstance
|
protected Token |
token
|
protected Transition |
transition
|
protected Node |
transitionSource
|
Constructor Summary | |
ExecutionContext(ExecutionContext other)
|
|
ExecutionContext(Token token)
|
Method Summary | |
Action |
getAction()
|
ContextInstance |
getContextInstance()
|
ModuleDefinition |
getDefinition(java.lang.Class clazz)
|
Event |
getEvent()
|
GraphElement |
getEventSource()
|
java.lang.Throwable |
getException()
|
ModuleInstance |
getInstance(java.lang.Class clazz)
|
Node |
getNode()
|
ProcessDefinition |
getProcessDefinition()
|
ProcessInstance |
getProcessInstance()
|
SchedulerInstance |
getSchedulerInstance()
|
Task |
getTask()
|
TaskInstance |
getTaskInstance()
|
TaskMgmtInstance |
getTaskMgmtInstance()
|
Token |
getToken()
|
Transition |
getTransition()
|
Node |
getTransitionSource()
|
java.lang.Object |
getVariable(java.lang.String name)
get a process variable. |
void |
leaveNode()
leave this node over the default transition. |
void |
leaveNode(java.lang.String transitionName)
leave this node over the given transition. |
void |
leaveNode(Transition transition)
leave this node over the given transition. |
void |
setAction(Action action)
|
void |
setEvent(Event event)
|
void |
setEventSource(GraphElement eventSource)
|
void |
setException(java.lang.Throwable exception)
|
void |
setTask(Task task)
|
void |
setTaskInstance(TaskInstance taskInstance)
|
void |
setTransition(Transition transition)
|
void |
setTransitionSource(Node transitionSource)
|
void |
setVariable(java.lang.String name,
java.lang.Object value)
set a process variable. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Token token
protected Event event
protected GraphElement eventSource
protected Action action
protected java.lang.Throwable exception
protected Transition transition
protected Node transitionSource
protected Task task
protected TaskInstance taskInstance
Constructor Detail |
public ExecutionContext(Token token)
public ExecutionContext(ExecutionContext other)
Method Detail |
public Node getNode()
public ProcessDefinition getProcessDefinition()
public void setAction(Action action)
public ProcessInstance getProcessInstance()
public java.lang.String toString()
public void setVariable(java.lang.String name, java.lang.Object value)
public java.lang.Object getVariable(java.lang.String name)
public void leaveNode()
public void leaveNode(java.lang.String transitionName)
public void leaveNode(Transition transition)
public ModuleDefinition getDefinition(java.lang.Class clazz)
public ModuleInstance getInstance(java.lang.Class clazz)
public ContextInstance getContextInstance()
public TaskMgmtInstance getTaskMgmtInstance()
public SchedulerInstance getSchedulerInstance()
public Token getToken()
public Action getAction()
public Event getEvent()
public void setEvent(Event event)
public java.lang.Throwable getException()
public void setException(java.lang.Throwable exception)
public Transition getTransition()
public void setTransition(Transition transition)
public Node getTransitionSource()
public void setTransitionSource(Node transitionSource)
public GraphElement getEventSource()
public void setEventSource(GraphElement eventSource)
public Task getTask()
public void setTask(Task task)
public TaskInstance getTaskInstance()
public void setTaskInstance(TaskInstance taskInstance)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |