Annotation Interface DecisionResource


@Retention(RUNTIME) public @interface DecisionResource
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The id of the decision to use.
    The DMN resources that contains the decision.
  • Element Details

    • resource

      String resource
      The DMN resources that contains the decision. The resource can be given with a path or only the filename. For the latter the test class location will be used to load the resource. If omitted the test class and method name will be used to load the DMN the resource.
      Default:
      ""
    • decisionKey

      String decisionKey
      The id of the decision to use. If omitted the first decision in the DMN resource is used.
      Default:
      ""