Interface IDecisionTreeDS

    • Method Detail

      • 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
      • iterateNodes

        void iterateNodes​(ITreeNodeVisitor visitor)
                   throws InitializationException
        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)
                      throws InitializationException
        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.