Interface DecisionNode


  • public interface DecisionNode
    Represents the information contained in a decision node.
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the name of decision node.
        Returns:
        String The decision node's name.
      • getComparisonFunction

        DecisionNodeComparisonType getComparisonFunction()
        Gets the comparison function.
        Returns:
        DecisionNodeComparisonFunction The function used to compare fields.
        Throws:
        java.lang.IllegalStateException - when this node is the last node in a decision tree.
        See Also:
        isLastNode()
      • getDecisionFields

        java.util.Collection<DecisionField> getDecisionFields()
        Gets the list of all fields configured in the decision node.
        Returns:
        Collection All fields configured in the decision node.
        Throws:
        java.lang.IllegalStateException - when this node is the last node in a decision tree.
        See Also:
        isLastNode()
      • getMatchingResult

        MatchingResultType getMatchingResult()
        Gets the result of the decision tree execution.
        Returns:
        MatchingResultType The decision tree execution result.
        Throws:
        java.lang.IllegalStateException - when this node is not the last node in a decision tree.
        See Also:
        isLastNode()
      • isLastNode

        java.lang.Boolean isLastNode()
        Returns:
        true if this node is the last node in a decision tree. (result of the decision tree execution)