Class SolutionNodeTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.tree.DecisionTreeNodeTemplate
com.aquima.interactions.test.templates.tree.SolutionNodeTemplate
- Direct Known Subclasses:
AttributeSolutionTemplate
,ContainerSolutionTemplate
Base class for node templates representing a solution.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SolutionNodeTemplate
(com.aquima.interactions.foundation.report.IInitializationReport report, String alternative) -
Method Summary
Modifier and TypeMethodDescriptionaddAttributeSolution
(String attribute, String strValue) This method can be used to add an attribute solution.addCondition
(String attribute) This method can be used to add a condition node.addContainerSolution
(String containerName) This method can be used to add a container solution.Methods inherited from class com.aquima.interactions.test.templates.tree.DecisionTreeNodeTemplate
addNode, getAlternative, getNodes, toDataSource
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
SolutionNodeTemplate
protected SolutionNodeTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String alternative)
-
-
Method Details
-
addAttributeSolution
This method can be used to add an attribute solution.- Parameters:
attribute
- The attribute of the solution.strValue
- The value of the solution.- Returns:
- Solution template representing the added solution.
-
addContainerSolution
This method can be used to add a container solution.- Parameters:
containerName
- The name of the container.- Returns:
- Solution template representing the added solution.
-
addCondition
This method can be used to add a condition node.- Parameters:
attribute
- The attribute that should be asked.- Returns:
- Condition template representing the added condition.
-