Class TreeEngineTemplate
- java.lang.Object
-
- com.aquima.interactions.test.templates.AbstractReportingTemplate
-
- com.aquima.interactions.test.templates.tree.TreeEngineTemplate
-
public class TreeEngineTemplate extends AbstractReportingTemplate
Template that can be used to initialize a tree engine.- Since:
- 6.0
- Author:
- O. Kerpershoek
-
-
Constructor Summary
Constructors Constructor Description TreeEngineTemplate(com.aquima.interactions.foundation.report.IInitializationReport report)
Constructs the template with the required parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecisionTreeTemplate
addTree(String name)
This method may be used to add a tree definition.DecisionTreeTemplate
addTree(String name, boolean exposedAsWebservice)
This method may be used to add a tree definition.protected List<DecisionTreeTemplate>
getDecisionTrees()
protected DecisionTreeTemplate
getTreeByName(String name)
com.aquima.interactions.dtree.ds.ITreeEngineDS
toDataSource()
This method converts the template to a data source that can be used to initialize a tree engine.-
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
-
-
-
Method Detail
-
addTree
public DecisionTreeTemplate addTree(String name)
This method may be used to add a tree definition.- Parameters:
name
- The name of the tree that should be added.- Returns:
- Decision tree template representing the added tree.
-
addTree
public DecisionTreeTemplate addTree(String name, boolean exposedAsWebservice)
This method may be used to add a tree definition.- Parameters:
name
- The name of the tree that should be added.- Returns:
- Decision tree template representing the added tree.
-
getTreeByName
protected DecisionTreeTemplate getTreeByName(String name)
-
getDecisionTrees
protected List<DecisionTreeTemplate> getDecisionTrees()
-
toDataSource
public com.aquima.interactions.dtree.ds.ITreeEngineDS toDataSource()
This method converts the template to a data source that can be used to initialize a tree engine.- Returns:
- a data source that can be used to initialize a tree engine.
-
-