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
public abstract class SolutionNodeTemplate extends DecisionTreeNodeTemplate
Base class for node templates representing a solution.- Since:
- 6.0
- Author:
- O. Kerpershoek
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SolutionNodeTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String alternative)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeSolutionTemplate
addAttributeSolution(String attribute, String strValue)
This method can be used to add an attribute solution.ConditionNodeTemplate
addCondition(String attribute)
This method can be used to add a condition node.ContainerSolutionTemplate
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 Detail
-
SolutionNodeTemplate
protected SolutionNodeTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String alternative)
-
-
Method Detail
-
addAttributeSolution
public AttributeSolutionTemplate addAttributeSolution(String attribute, String strValue)
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
public ContainerSolutionTemplate addContainerSolution(String containerName)
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
public ConditionNodeTemplate addCondition(String attribute)
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.
-
-