Method Summary |
|
public void | addSwimlaneInstance(SwimlaneInstance swimlaneInstance) |
public void | addTaskInstance(TaskInstance taskInstance) |
public TaskInstance | createStartTaskInstance() creates a task instance on the rootToken, and assigns it
to the currently authenticated user. |
public SwimlaneInstance | createSwimlaneInstance(String swimlaneName) |
public SwimlaneInstance | createSwimlaneInstance(Swimlane swimlane) |
public TaskInstance | createTaskInstance() |
public TaskInstance | createTaskInstance(Task task) |
public TaskInstance | createTaskInstance(Token token) |
public TaskInstance | createTaskInstance(Task task, Token token) creates a new task instance on the given token, for the given task. |
public TaskInstance | createTaskInstance(Task task, ExecutionContext executionContext) creates a new task instance on the given task, in the given execution context. |
public void | endAll() convenience method to end all tasks related to a given process instance. |
public SwimlaneInstance | getInitializedSwimlaneInstance(ExecutionContext executionContext, Swimlane swimlane) |
public Collection | getSignallingTasks(ExecutionContext executionContext) is the collection of
TaskInstance s for the given token that can trigger
the token to continue. |
public SwimlaneInstance | getSwimlaneInstance(String swimlaneName) |
public Map | getSwimlaneInstances() |
public Collection | getTaskInstances() returns all the taskInstances for the this process instance. |
public Collection | getTaskInstancesWithVariableUpdates() returns the collection of task instance with variable updates. |
public TaskMgmtDefinition | getTaskMgmtDefinition() |
public Collection | getUnfinishedTasks(Token token) is the collection of
TaskInstance s on the given token that are not ended. |
public boolean | hasBlockingTaskInstances(Token token) is true if the given token has task instances that keep the
token from leaving the current node. |
public boolean | hasSignallingTasks(ExecutionContext executionContext) is true if there are
TaskInstance s on the given token that can trigger
the token to continue. |
public boolean | hasUnfinishedTasks(Token token) is true if the given token has task instances that are not yet ended. |
TaskInstance | instantiateNewTaskInstance(ExecutionContext executionContext) |
void | notifyVariableUpdate(TaskInstance taskInstance) |
public void | performAssignment(Delegation assignmentDelegation, String actorIdExpression, String pooledActorsExpression, Assignable assignable, ExecutionContext executionContext) |
void | performAssignmentActorIdExpr(String actorIdExpression, Assignable assignable, ExecutionContext executionContext) |
void | performAssignmentDelegation(Delegation assignmentDelegation, Assignable assignable, ExecutionContext executionContext) |
void | performAssignmentPooledActorsExpr(String pooledActorsExpression, Assignable assignable, ExecutionContext executionContext) |
public void | removeSignalling(Token token) removes signalling capabilities from all task instances related to the given token. |
public void | removeTaskInstance(TaskInstance taskInstance) |
public void | resume(Token token) resumes all task instances for this process instance. |
public void | suspend(Token token) suspends all task instances for this process instance. |