Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3068

The ResourceType should support more extensions for the same type

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.2.0.CR1
    • Fix Version/s: None
    • Component/s: drools-api
    • Labels:
      None

      Description

      If I try to get the reource type using:
      String resourceName = "test.bpmn2"
      ResourceType = ResourceType.determineResourceType(resourceName);

      ...the resource type is not correctly detected, since only ONE default extension is supported (the BPMN2 type is related to the ".bpmn" extension). The ResourceType should have one default extansions and a list of supported extensions fo r the same type. If so, the ResourceType.BPMN2 declaration should be:

      /** jBPM BPMN2 Language */
      public static final ResourceType BPMN2 = addResourceTypeToRegistry( "BPMN2","jBPM BPMN2 Language","bpmn", "bpmn2" );

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mark.proctor Mark Proctor
                Reporter:
                mpiraccini Marco Piraccini
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: