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
public class TaskNodeDefinition extends ProcessStepDefinition implements ITaskNodeDefinition
This node holds the information needed for a task invocation.- Since:
- 7.1
- Author:
- O. Kerpershoek
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TaskNodeDefinition(NodeData datasource, NodeContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
This method returns a name for the node in a readable format that can be used to identify the node.IProcessDefinition
getProcessDefinition()
This method returns the owner process definition.ICondition
getRequiredCondition()
This method returns a boolean condition indicating if the node is required once the task has become available.IProcessTaskDefinition
getTaskDefinition()
This method returns the task definition the node is defined for.String
getTaskName()
This method returns the name of the task.boolean
lockCaseDataUponStart()
This method returns a boolean indicating if the case data should be locked when this task is started.String
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 Detail
-
TaskNodeDefinition
protected TaskNodeDefinition(NodeData datasource, NodeContext context) throws InitializationException
- Throws:
InitializationException
-
-
Method Detail
-
getTaskName
public String 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
public IProcessTaskDefinition 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
public String 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
public final ICondition 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.
-
getProcessDefinition
public IProcessDefinition 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;
-
-