Class DMNJSONUtils

java.lang.Object
org.kie.kogito.dmn.rest.DMNJSONUtils

public class DMNJSONUtils extends Object
Internal Utility class.
Used to simplify generated/scaffolded code to create a DMNContext accordingly to JSON un-marshalling semantic
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.kie.dmn.api.core.DMNContext
    ctx(DecisionModel dm, Map<String,Object> variables)
    Internal Utility method.
    Used to simplify generated/scaffolded code to create a DMNContext accordingly to JSON un-marshalling semantic
    static org.kie.dmn.api.core.DMNContext
    ctx(DecisionModel dm, Map<String,Object> variables, String decisionServiceName)
    Internal Utility method.
    Used to simplify generated/scaffolded code to create a DMNContext accordingly to JSON un-marshalling semantic
    static org.kie.dmn.api.core.DMNContext
    ctx(DecisionModel dm, org.kie.dmn.api.core.FEELPropertyAccessible variables)
    Internal Utility method.
    Used to simplify generated/scaffolded code to create a DMNContext accordingly to JSON un-marshalling semantic
    static org.kie.dmn.api.core.DMNContext
    ctx(DecisionModel dm, org.kie.dmn.api.core.FEELPropertyAccessible variables, String decisionServiceName)
    Internal Utility method.
    Used to simplify generated/scaffolded code to create a DMNContext accordingly to JSON un-marshalling semantic

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • ctx

      public static org.kie.dmn.api.core.DMNContext ctx(DecisionModel dm, Map<String,Object> variables)
      Internal Utility method.
      Used to simplify generated/scaffolded code to create a DMNContext accordingly to JSON un-marshalling semantic
    • ctx

      public static org.kie.dmn.api.core.DMNContext ctx(DecisionModel dm, org.kie.dmn.api.core.FEELPropertyAccessible variables)
      Internal Utility method.
      Used to simplify generated/scaffolded code to create a DMNContext accordingly to JSON un-marshalling semantic
    • ctx

      public static org.kie.dmn.api.core.DMNContext ctx(DecisionModel dm, Map<String,Object> variables, String decisionServiceName)
      Internal Utility method.
      Used to simplify generated/scaffolded code to create a DMNContext accordingly to JSON un-marshalling semantic
    • ctx

      public static org.kie.dmn.api.core.DMNContext ctx(DecisionModel dm, org.kie.dmn.api.core.FEELPropertyAccessible variables, String decisionServiceName)
      Internal Utility method.
      Used to simplify generated/scaffolded code to create a DMNContext accordingly to JSON un-marshalling semantic