Class SingleResultDecisionResultMapper

  • All Implemented Interfaces:
    DecisionResultMapper

    public class SingleResultDecisionResultMapper
    extends java.lang.Object
    implements DecisionResultMapper
    Maps the decision result to pairs of output name and untyped entries.
    Author:
    Philipp Ossler
    • Constructor Detail

      • SingleResultDecisionResultMapper

        public SingleResultDecisionResultMapper()
    • Method Detail

      • mapDecisionResult

        public java.lang.Object mapDecisionResult​(DmnDecisionResult decisionResult)
        Description copied from interface: DecisionResultMapper
        Maps the decision result into a value that can set as process variable.
        Specified by:
        mapDecisionResult in interface DecisionResultMapper
        Parameters:
        decisionResult - the result of the evaluated decision
        Returns:
        the value that should set as process variable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object