Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5331

Support for Enums in Rule Test Scenario

    XMLWordPrintable

Details

    • 2020 Week 19-21 (from May 4), 2020 Week 22-24 (from May 25)
    • 5
    • NEW
    • NEW

    Description

      Currently, Test Scenario doesn't support an attribute of Enumeration type.
      In case of RULE Scenario:
      Loading a Data Object with such attribute, will result in Complex Type properties with a nested simple property "declaringClass" of "java.lang.Class" type.
      The expected result should be a Simple property of Enum type (in this case: category [java.lang.Enum] )
      In case of DMN Scenario:
      Currently no impacts

      Attachments

        1. Customer.java
          2 kB
        2. EnumTest.java
          0.1 kB

        Issue Links

          Activity

            People

              yamer@redhat.com Yeser Amer
              yamer@redhat.com Yeser Amer
              Anna Dupliak Anna Dupliak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: