Class DecisionTree

    • Method Detail

      • getName

        public String getName()
        Description copied from interface: IDecisionTree
        This method returns the name of the decision tree.
        Specified by:
        getName in interface IDecisionTree
        Returns:
        the name of the decision tree.
      • isExposedAsWebservice

        public boolean isExposedAsWebservice()
        Description copied from interface: IDecisionTree
        This method returns if the decision tree will be exposed as a webservice.
        Specified by:
        isExposedAsWebservice in interface IDecisionTree
        Returns:
        the boolean indicating if the decision tree will be exposed.
      • getConditions

        public AbstractNode[] getConditions()

        Retrieves the start questions of the decision tree.

        Note: This method is public to allow test-case access.

        Returns:
        Array containing the start questions of the decision tree.
      • getDisplayText

        public IMultilingualText getDisplayText()
        Description copied from interface: IDecisionTree
        This method returns the description of the decision tree that should be shown for the decision tree when it is selected.
        Specified by:
        getDisplayText in interface IDecisionTree
        Returns:
        The text that should be shown when selecting a decision tree.
      • getSymptoms

        public ISymptom[] getSymptoms()
        Description copied from interface: IDecisionTree
        This method returns an array of symptoms describing the contents of the decision tree.
        Specified by:
        getSymptoms in interface IDecisionTree
        Returns:
        An array of symptoms describing the contents of the decision tree.