Class TaskNodeDefinition
java.lang.Object
com.aquima.interactions.process.impl.nodes.NodeDefinition
com.aquima.interactions.process.impl.nodes.ProcessStepDefinition
com.aquima.interactions.process.impl.nodes.TaskNodeDefinition
- All Implemented Interfaces:
ITaskNodeDefinition
,IProcessNodeDefinition
,IProcessStepDefinition
This node holds the information needed for a task invocation.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TaskNodeDefinition
(NodeData datasource, NodeContext context) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns a name for the node in a readable format that can be used to identify the node.This method returns the owner process definition.final ICondition
This method returns a boolean condition indicating if the node is required once the task has become available.This method returns the task definition the node is defined for.This method returns the name of the task.boolean
This method returns a boolean indicating if the case data should be locked when this task is started.toString()
Methods inherited from class com.aquima.interactions.process.impl.nodes.ProcessStepDefinition
getCondition, getNextNode, getNextNode, isAdhoc, isRepeatable, parseCondition
Methods inherited from class com.aquima.interactions.process.impl.nodes.NodeDefinition
addNextNode, getExitStates, getExpirationDefinition, getId, getNextNodeSafe, setExpirationDefinition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.aquima.interactions.process.nodes.IProcessNodeDefinition
getExitStates, getExpirationDefinition, getId, getNextNode, getNextNode
Methods inherited from interface com.aquima.interactions.process.nodes.IProcessStepDefinition
getCondition, isAdhoc, isRepeatable
-
Constructor Details
-
TaskNodeDefinition
protected TaskNodeDefinition(NodeData datasource, NodeContext context) throws InitializationException - Throws:
InitializationException
-
-
Method Details
-
getTaskName
Description copied from interface:ITaskNodeDefinition
This method returns the name of the task.- Specified by:
getTaskName
in interfaceITaskNodeDefinition
- Returns:
- The name of the task.
-
getTaskDefinition
Description copied from interface:ITaskNodeDefinition
This method returns the task definition the node is defined for.- Specified by:
getTaskDefinition
in interfaceITaskNodeDefinition
- Returns:
- the task definition the node is defined for.
-
lockCaseDataUponStart
public boolean lockCaseDataUponStart()Description copied from interface:ITaskNodeDefinition
This method returns a boolean indicating if the case data should be locked when this task is started.- Specified by:
lockCaseDataUponStart
in interfaceITaskNodeDefinition
- Returns:
- a boolean indicating if the case data should be locked when this task is started.
-
getDisplayName
Description copied from interface:IProcessNodeDefinition
This method returns a name for the node in a readable format that can be used to identify the node.- Specified by:
getDisplayName
in interfaceIProcessNodeDefinition
- Returns:
- a name for the node in a readable format that can be used to identify the node.
-
getRequiredCondition
Description copied from interface:ITaskNodeDefinition
This method returns a boolean condition indicating if the node is required once the task has become available. A node that is required will stay scheduled even after the condition that caused it to be scheduled has become false. This property is only relevant for adhoc nodes.- Specified by:
getRequiredCondition
in interfaceITaskNodeDefinition
- Returns:
- boolean condition indicating if the node is required once the task has become available.
-
toString
-
getProcessDefinition
Description copied from interface:ITaskNodeDefinition
This method returns the owner process definition.- Specified by:
getProcessDefinition
in interfaceITaskNodeDefinition
- Returns:
- The definition of the owner process;
-