Interface IDecisionTreeDS

All Superinterfaces:
IReportingDS
All Known Implementing Classes:
DecisionTreeDelegateDS, DecisionTreeDS, XmlDecisionTreeDS, XmlDecisionTreeDS

public interface IDecisionTreeDS extends IReportingDS
Data source interface used during initialization to retrieve the data of a single decision tree.
Since:
5.0
Author:
F. van der Meer
  • Method Summary

    Modifier and Type
    Method
    Description
    This method should return the description of text used for display of the decision tree.
    This method should return the name of the decision tree.
    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
    This method should iterate over the top node(s) of the tree, and add them to the provided visitor.
    void
    This method should iterate over the symptoms of the tree and add them to the visitor.

    Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS

    addMessage
  • Method Details

    • getName

      String getName()
      This method should return the name of the decision tree.
      Returns:
      the name of the decision tree.
    • getDisplayText

      IMultilingualText getDisplayText()
      This method should return the description of text used for display of the decision tree.
      Returns:
      the description of text used for display of the decision tree.
    • isExposedAsWebservice

      boolean isExposedAsWebservice()
      This method should indicate whether the decision tree will be exposed as a webservice.
      Returns:
      true if exposed otherwise false
    • getRoles

      String[] getRoles()
      This method should return the roles required to access the decision tree.
      Returns:
      the roles required to access the decision tree.
    • iterateNodes

      void iterateNodes(ITreeNodeVisitor visitor)
      This method should iterate over the top node(s) of the tree, and add them to the provided visitor.
      Parameters:
      visitor - The visitor that should be used to add the nodes to.
      Throws:
      InitializationException - This exception is thrown when the nodes could not be initialized.
    • iterateSymptoms

      void iterateSymptoms(ITreeSymptomVisitor visitor)
      This method should iterate over the symptoms of the tree and add them to the visitor.
      Parameters:
      visitor - The visitor that should be used to add the symptoms to.
      Throws:
      InitializationException - This exception is thrown when the symptoms could not be initialized.