Class ConditionNodeDefinition
java.lang.Object
com.aquima.interactions.process.impl.nodes.NodeDefinition
com.aquima.interactions.process.impl.nodes.ProcessStepDefinition
com.aquima.interactions.process.impl.nodes.ConditionNodeDefinition
- All Implemented Interfaces:
IConditionNodeDefinition
,IProcessNodeDefinition
,IProcessStepDefinition
,IWaitNodeDefinition
public class ConditionNodeDefinition
extends ProcessStepDefinition
implements IConditionNodeDefinition
This class defines a node that should wait for a condition to become true.
- Since:
- 7.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConditionNodeDefinition
(NodeData node, 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.String[]
This method returns the names of the exits that are connected to a next node.boolean
This method returns a boolean indicating if the task may be repeated once it has been completed.Methods inherited from class com.aquima.interactions.process.impl.nodes.ProcessStepDefinition
getCondition, getNextNode, getNextNode, isAdhoc, parseCondition
Methods inherited from class com.aquima.interactions.process.impl.nodes.NodeDefinition
addNextNode, getExpirationDefinition, getId, getNextNodeSafe, setExpirationDefinition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.process.nodes.IConditionNodeDefinition
getCondition
Methods inherited from interface com.aquima.interactions.process.nodes.IProcessNodeDefinition
getExpirationDefinition, getId, getNextNode, getNextNode
Methods inherited from interface com.aquima.interactions.process.nodes.IProcessStepDefinition
isAdhoc
-
Constructor Details
-
ConditionNodeDefinition
protected ConditionNodeDefinition(NodeData node, NodeContext context) throws InitializationException - Throws:
InitializationException
-
-
Method Details
-
isRepeatable
public boolean isRepeatable()Description copied from interface:IProcessStepDefinition
This method returns a boolean indicating if the task may be repeated once it has been completed. Note: Only ad hoc tasks can be repeatable, ad hoc condition nodes can not be repeatable.- Specified by:
isRepeatable
in interfaceIProcessStepDefinition
- Overrides:
isRepeatable
in classProcessStepDefinition
- Returns:
- a boolean indicating if the task may be repeated once it has been completed.
-
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.
-
getExitStates
Description copied from class:NodeDefinition
This method returns the names of the exits that are connected to a next node.- Specified by:
getExitStates
in interfaceIProcessNodeDefinition
- Overrides:
getExitStates
in classNodeDefinition
- Returns:
- the names of the exits that are connected to a next node.
-