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
Constructors Modifier Constructor Description protected
ConditionNodeDefinition(NodeData node, 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.String[]
getExitStates()
This method returns the names of the exits that are connected to a next node.boolean
isRepeatable()
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 Detail
-
ConditionNodeDefinition
protected ConditionNodeDefinition(NodeData node, NodeContext context) throws InitializationException
- Throws:
InitializationException
-
-
Method Detail
-
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
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.
-
getExitStates
public String[] 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.
-
-