Class XmlDecisionTreeDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.dtree.ds.xml.r17.parsing.XmlDecisionTreeDS
- All Implemented Interfaces:
IDecisionTreeDS
,IReportingDS
Release 8.x implementation of the decision tree data source from XML.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlDecisionTreeDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThis method should return the description of text used for display of the decision tree.getName()
This method should return the name of the decision tree.String[]
getRoles()
This method should return the roles required to access the decision tree.boolean
This method should indicate whether the decision tree will be exposed as a webservice.void
iterateNodes
(ITreeNodeVisitor visitor) This method should iterate over the top node(s) of the tree, and add them to the provided visitor.void
iterateSymptoms
(ITreeSymptomVisitor visitor) This method should iterate over the symptoms of the tree and add them to the visitor.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
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.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
Method Details
-
getDisplayText
Description copied from interface:IDecisionTreeDS
This method should return the description of text used for display of the decision tree.- Specified by:
getDisplayText
in interfaceIDecisionTreeDS
- Returns:
- the description of text used for display of the decision tree.
-
isExposedAsWebservice
public boolean isExposedAsWebservice()Description copied from interface:IDecisionTreeDS
This method should indicate whether the decision tree will be exposed as a webservice.- Specified by:
isExposedAsWebservice
in interfaceIDecisionTreeDS
- Returns:
true
if exposed otherwisefalse
-
getName
Description copied from interface:IDecisionTreeDS
This method should return the name of the decision tree.- Specified by:
getName
in interfaceIDecisionTreeDS
- Returns:
- the name of the decision tree.
-
getRoles
Description copied from interface:IDecisionTreeDS
This method should return the roles required to access the decision tree.- Specified by:
getRoles
in interfaceIDecisionTreeDS
- Returns:
- the roles required to access the decision tree.
-
iterateNodes
Description copied from interface:IDecisionTreeDS
This method should iterate over the top node(s) of the tree, and add them to the provided visitor.- Specified by:
iterateNodes
in interfaceIDecisionTreeDS
- Parameters:
visitor
- The visitor that should be used to add the nodes to.
-
iterateSymptoms
Description copied from interface:IDecisionTreeDS
This method should iterate over the symptoms of the tree and add them to the visitor.- Specified by:
iterateSymptoms
in interfaceIDecisionTreeDS
- Parameters:
visitor
- The visitor that should be used to add the symptoms to.
-