Class ContainerAction
- java.lang.Object
-
- com.aquima.interactions.dtree.impl.AbstractNode
-
- com.aquima.interactions.dtree.impl.ContainerAction
-
- All Implemented Interfaces:
Serializable
public class ContainerAction extends AbstractNode
Decision tree node representing a container result.- Since:
- 5.0
- Author:
- F. van der Meer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ContainerAction(InitializationLookup lookup, IDecisionTree decisionTree, AbstractNode parent, IDecisionTreeNodeDS nodeDS)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractNode[]
getChildren()
This method returns an array containing the child nodes.protected ContainerDefinition
getContainer()
boolean
isContainerAction()
ContainerAction
toContainerAction()
-
Methods inherited from class com.aquima.interactions.dtree.impl.AbstractNode
getCondition, getQuestionAttribute, getTree, isActionNode, isAssetAction, isAttributeAction, isCondition, isSubtreeAction, toAssetAction, toAttributeAction, toString, toSubtreeAction
-
-
-
-
Constructor Detail
-
ContainerAction
protected ContainerAction(InitializationLookup lookup, IDecisionTree decisionTree, AbstractNode parent, IDecisionTreeNodeDS nodeDS) throws InitializationException
- Throws:
InitializationException
-
-
Method Detail
-
isContainerAction
public boolean isContainerAction()
- Overrides:
isContainerAction
in classAbstractNode
-
toContainerAction
public ContainerAction toContainerAction() throws DecisionTreeException
- Overrides:
toContainerAction
in classAbstractNode
- Throws:
DecisionTreeException
-
getChildren
public AbstractNode[] getChildren()
Description copied from class:AbstractNode
This method returns an array containing the child nodes.
Note: This method is public to allow test-case access, but should not be used outside the tree engine.
- Specified by:
getChildren
in classAbstractNode
- Returns:
- an array containing the child nodes.
-
getContainer
protected ContainerDefinition getContainer()
-
-