Interface DMNResult

All Superinterfaces:
DMNMessageContainer

public interface DMNResult extends DMNMessageContainer
An instance that encapsulates all the information resulting from a DMN service invocation
  • Method Details

    • getContext

      DMNContext getContext()
      Returns the full context, including all input variables and additional variables and decisions set during the service invocation
      Returns:
      the resulting DMN context
    • getDecisionResults

      List<DMNDecisionResult> getDecisionResults()
      Returns a list containing all the results of the decisions executed
      Returns:
      A list with the result of the decisions
    • getDecisionResultByName

      DMNDecisionResult getDecisionResultByName(String name)
      Returns the result of a single decision.
      Parameters:
      name - the name of the decision
      Returns:
      the result of the decision or null if the decision was not evaluated.
    • getDecisionResultById

      DMNDecisionResult getDecisionResultById(String id)
      Returns the result of a single decision.
      Parameters:
      id - the id of the decision
      Returns:
      the result of the decision or null if the decision was not evaluated.