Class ResourceType

    • Field Detail

      • DRL

        public static final ResourceType DRL
        Drools Rule Language
      • GDRL

        public static final ResourceType GDRL
        Drools Rule Language - Guided Globals definitions - Workaround for double-dot file extensions for 6.0
      • RDRL

        public static final ResourceType RDRL
        Drools Rule Language - Guided Rules (without DSL) - Workaround for double-dot file extensions for 6.0
      • DSLR

        public static final ResourceType DSLR
        Drools DSL Rule
      • RDSLR

        public static final ResourceType RDSLR
        Drools Rule Language - Guided Rules (with DSL) - Workaround for double-dot file extensions for 6.0
      • DRF

        public static final ResourceType DRF
        Drools Rule Flow Language
      • BPMN2

        public static final ResourceType BPMN2
        jBPM BPMN2 Language
      • CMMN

        public static final ResourceType CMMN
        jBPM CMMN Language
      • DTABLE

        public static final ResourceType DTABLE
        Decision Table
      • PROPERTIES

        public static final ResourceType PROPERTIES
        PROPERTIES
      • SCARD

        public static final ResourceType SCARD
        Score Card - Workaround for double-dot file extensions for 6.0
      • TDRL

        public static final ResourceType TDRL
        Drools Rule Language - Guided Decision Trees - Workaround for double-dot file extensions for 6.0
      • DRT

        @Deprecated
        public static final ResourceType DRT
        Deprecated.
        Since 8. Consider drools-decisiontables or third party templating features
      • DMN

        public static final ResourceType DMN
        Decision Model and Notation (DMN) model
      • FEEL

        public static final ResourceType FEEL
        DMN FEEL expression language
      • NOOP

        public static final ResourceType NOOP
        NO-Operation ResourceType - used for example to dynamically disable a given AssemblerService
    • Constructor Detail

      • ResourceType

        public ResourceType​(String name,
                            boolean fullyCoveredByExecModel,
                            String description,
                            String defaultPath,
                            String defaultExtension,
                            String... otherExtensions)
    • Method Detail

      • addResourceTypeToRegistry

        public static ResourceType addResourceTypeToRegistry​(String resourceType,
                                                             boolean isNative,
                                                             String description,
                                                             String defaultPath,
                                                             String defaultExtension,
                                                             String... otherExtensions)
      • determineResourceType

        public static ResourceType determineResourceType​(String resourceName)
      • matchesExtension

        public boolean matchesExtension​(String resourceName)
      • isFullyCoveredByExecModel

        public boolean isFullyCoveredByExecModel()
      • getDefaultPath

        public String getDefaultPath()
      • getDefaultExtension

        public String getDefaultExtension()
      • getAllExtensions

        public List<String> getAllExtensions()
      • getDescription

        public String getDescription()
      • getName

        public String getName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object