|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.module.exe.ModuleInstance org.jbpm.taskmgmt.exe.TaskMgmtInstance
process instance extension for managing tasks on a process instance.
Field Summary |
Fields inherited from class org.jbpm.module.exe.ModuleInstance |
processInstance |
Constructor Summary | |
TaskMgmtInstance()
|
|
TaskMgmtInstance(TaskMgmtDefinition taskMgmtDefinition)
|
Method Summary | |
void |
addSwimlaneInstance(SwimlaneInstance swimlaneInstance)
|
void |
addTaskInstance(TaskInstance taskInstance)
|
TaskInstance |
createStartTaskInstance()
creates a task instance on the rootToken, and assigns it to the currently authenticated user. |
TaskInstance |
createTaskInstance()
|
TaskInstance |
createTaskInstance(Task task)
|
TaskInstance |
createTaskInstance(Task task,
ExecutionContext executionContext)
creates a new task instance on the given task, in the given execution context. |
TaskInstance |
createTaskInstance(Task task,
Token token)
creates a new task instance on the given token, for the given task. |
TaskInstance |
createTaskInstance(Token token)
|
SwimlaneInstance |
getInitializedSwimlaneInstance(ExecutionContext executionContext,
Swimlane swimlane)
|
java.util.Collection |
getSignallingTasks(ExecutionContext executionContext)
is the collection of TaskInstance s for the given token that can trigger
the token to continue. |
SwimlaneInstance |
getSwimlaneInstance(java.lang.String swimlaneName)
|
java.util.Map |
getSwimlaneInstances()
|
static java.lang.Class |
getTaskInstanceClass()
|
java.util.Collection |
getTaskInstances()
returns all the taskInstances for the this process instance. |
TaskMgmtDefinition |
getTaskMgmtDefinition()
|
java.util.Collection |
getUnfinishedTasks(Token token)
is the collection of TaskInstance s on the given token that are not ended. |
boolean |
hasBlockingTaskInstances(Token token)
is true if the given token has task instances that keep the token from leaving the current node. |
boolean |
hasSignallingTasks(ExecutionContext executionContext)
is true if there are TaskInstance s on the given token that can trigger
the token to continue. |
boolean |
hasUnfinishedTasks(Token token)
is true if the given token has task instances that are not yet ended. |
void |
invokeAssignmentHandler(Delegation assignmentDelegation,
Assignable assignable,
ExecutionContext executionContext)
|
void |
removeTaskInstance(TaskInstance taskInstance)
|
Methods inherited from class org.jbpm.module.exe.ModuleInstance |
getId, getProcessInstance, setProcessInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TaskMgmtInstance()
public TaskMgmtInstance(TaskMgmtDefinition taskMgmtDefinition)
Method Detail |
public static java.lang.Class getTaskInstanceClass()
public TaskInstance createTaskInstance()
public TaskInstance createTaskInstance(Task task)
public TaskInstance createTaskInstance(Token token)
public TaskInstance createTaskInstance(Task task, Token token)
public TaskInstance createTaskInstance(Task task, ExecutionContext executionContext)
public SwimlaneInstance getInitializedSwimlaneInstance(ExecutionContext executionContext, Swimlane swimlane)
public void invokeAssignmentHandler(Delegation assignmentDelegation, Assignable assignable, ExecutionContext executionContext)
public TaskInstance createStartTaskInstance()
public boolean hasBlockingTaskInstances(Token token)
public boolean hasUnfinishedTasks(Token token)
public java.util.Collection getUnfinishedTasks(Token token)
TaskInstance
s on the given token that are not ended.
public boolean hasSignallingTasks(ExecutionContext executionContext)
TaskInstance
s on the given token that can trigger
the token to continue.
public java.util.Collection getSignallingTasks(ExecutionContext executionContext)
TaskInstance
s for the given token that can trigger
the token to continue.
public java.util.Collection getTaskInstances()
public void addTaskInstance(TaskInstance taskInstance)
public void removeTaskInstance(TaskInstance taskInstance)
public java.util.Map getSwimlaneInstances()
public void addSwimlaneInstance(SwimlaneInstance swimlaneInstance)
public SwimlaneInstance getSwimlaneInstance(java.lang.String swimlaneName)
public TaskMgmtDefinition getTaskMgmtDefinition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |