| |
|
| java.lang.Object org.jbpm.graph.def.GraphElement org.jbpm.graph.def.Node org.jbpm.graph.node.TaskNode
TaskNode | public class TaskNode extends Node implements Parsable(Code) | | is a node that relates to one or more tasks.
Property signal specifies how task completion
triggers continuation of execution.
|
Field Summary | |
final public static int | SIGNAL_FIRST proceeds execution when the first task instance is completed. | final public static int | SIGNAL_FIRST_WAIT proceeds execution when the first task instance is completed. | final public static int | SIGNAL_LAST proceeds execution when the last task instance is completed.
when no tasks are created on entrance of this node, execution waits in the task node till tasks are created. | final public static int | SIGNAL_LAST_WAIT proceeds execution when the last task instance is completed.
when no tasks are created on entrance of this node, execution waits in the task node till tasks are created. | final public static int | SIGNAL_NEVER execution never continues, regardless wether tasks are created or still unfinished. | final public static int | SIGNAL_UNSYNCHRONIZED execution always continues, regardless wether tasks are created or still unfinished. | boolean | createTasks | boolean | endTasks | int | signal | Set | tasks |
SIGNAL_FIRST | final public static int SIGNAL_FIRST(Code) | | proceeds execution when the first task instance is completed.
when no tasks are created on entrance of this node, execution is continued.
|
SIGNAL_FIRST_WAIT | final public static int SIGNAL_FIRST_WAIT(Code) | | proceeds execution when the first task instance is completed.
when no tasks are created on entrance of this node, execution is continued.
|
SIGNAL_LAST | final public static int SIGNAL_LAST(Code) | | proceeds execution when the last task instance is completed.
when no tasks are created on entrance of this node, execution waits in the task node till tasks are created.
|
SIGNAL_LAST_WAIT | final public static int SIGNAL_LAST_WAIT(Code) | | proceeds execution when the last task instance is completed.
when no tasks are created on entrance of this node, execution waits in the task node till tasks are created.
|
SIGNAL_NEVER | final public static int SIGNAL_NEVER(Code) | | execution never continues, regardless wether tasks are created or still unfinished.
|
SIGNAL_UNSYNCHRONIZED | final public static int SIGNAL_UNSYNCHRONIZED(Code) | | execution always continues, regardless wether tasks are created or still unfinished.
|
createTasks | boolean createTasks(Code) | | |
endTasks | boolean endTasks(Code) | | |
TaskNode | public TaskNode()(Code) | | |
completionTriggersSignal | public boolean completionTriggersSignal(TaskInstance taskInstance)(Code) | | |
getCreateTasks | public boolean getCreateTasks()(Code) | | |
getSignal | public int getSignal()(Code) | | |
getTask | public Task getTask(String taskName)(Code) | | is the task in this task-node with the given name or null if the given task
does not exist in this node.
|
getTasksMap | public Map getTasksMap()(Code) | | is a Map with the tasks, keyed by task-name or an empty map in case
no tasks are present in this task-node.
|
isEndTasks | public boolean isEndTasks()(Code) | | |
removeTaskInstanceSynchronization | public void removeTaskInstanceSynchronization(Token token)(Code) | | |
setCreateTasks | public void setCreateTasks(boolean createTasks)(Code) | | |
setEndTasks | public void setEndTasks(boolean endTasks)(Code) | | |
setSignal | public void setSignal(int signal)(Code) | | |
setTasks | public void setTasks(Set tasks)(Code) | | |
signalToString | public static String signalToString(int signal)(Code) | | |
|
|
|