Package org.kie.api.io
Class ResourceType
- java.lang.Object
-
- org.kie.api.io.ResourceType
-
- All Implemented Interfaces:
java.io.Serializable
public class ResourceType extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceTypeBAYESBayesianstatic ResourceTypeBPMN2jBPM BPMN2 Languagestatic ResourceTypeCMMNjBPM CMMN Languagestatic ResourceTypeDESCRDESCRstatic ResourceTypeDMNDecision Model and Notation (DMN) modelstatic ResourceTypeDRFDrools Rule Flow Languagestatic ResourceTypeDRLDrools Rule Languagestatic ResourceTypeDRLXstatic ResourceTypeDRTDeprecated.Since 8.static ResourceTypeDSLDrools DSLstatic ResourceTypeDSLRDrools DSL Rulestatic ResourceTypeDTABLEDecision Tablestatic ResourceTypeFEELDMN FEEL expression languagestatic ResourceTypeGDRLDrools Rule Language - Guided Globals definitions - Workaround for double-dot file extensions for 6.0static ResourceTypeGDSTstatic ResourceTypeJAVAJAVAstatic ResourceTypeNOOPNO-Operation ResourceType - used for example to dynamically disable a given AssemblerServicestatic ResourceTypePMMLPMMLstatic ResourceTypePROPERTIESPROPERTIESstatic ResourceTypeRDRLDrools Rule Language - Guided Rules (without DSL) - Workaround for double-dot file extensions for 6.0static ResourceTypeRDSLRDrools Rule Language - Guided Rules (with DSL) - Workaround for double-dot file extensions for 6.0static ResourceTypeSCARDScore Card - Workaround for double-dot file extensions for 6.0static ResourceTypeSCGDstatic ResourceTypeSOLVERstatic ResourceTypeTDRLDrools Rule Language - Guided Decision Trees - Workaround for double-dot file extensions for 6.0static ResourceTypeTEMPLATEstatic ResourceTypeXSDXSD
-
Constructor Summary
Constructors Constructor Description ResourceType(java.lang.String name, boolean fullyCoveredByExecModel, java.lang.String description, java.lang.String defaultPath, java.lang.String defaultExtension, java.lang.String... otherExtensions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceTypeaddResourceTypeToRegistry(java.lang.String resourceType, boolean isNative, java.lang.String description, java.lang.String defaultPath, java.lang.String defaultExtension, java.lang.String... otherExtensions)static ResourceTypeaddResourceTypeToRegistry(java.lang.String resourceType, java.lang.String description, java.lang.String defaultPath, java.lang.String defaultExtension, java.lang.String... otherExtensions)static ResourceTypedetermineResourceType(java.lang.String resourceName)booleanequals(java.lang.Object obj)java.util.List<java.lang.String>getAllExtensions()java.lang.StringgetDefaultExtension()java.lang.StringgetDefaultPath()java.lang.StringgetDescription()java.lang.StringgetName()inthashCode()booleanisFullyCoveredByExecModel()booleanmatchesExtension(java.lang.String resourceName)java.lang.StringtoString()
-
-
-
Field Detail
-
DRL
public static final ResourceType DRL
Drools Rule Language
-
DRLX
public static final ResourceType DRLX
-
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
-
DSL
public static final ResourceType DSL
Drools DSL
-
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
-
XSD
public static final ResourceType XSD
XSD
-
PMML
public static final ResourceType PMML
PMML
-
DESCR
public static final ResourceType DESCR
DESCR
-
JAVA
public static final ResourceType JAVA
JAVA
-
PROPERTIES
public static final ResourceType PROPERTIES
PROPERTIES
-
SCARD
public static final ResourceType SCARD
Score Card - Workaround for double-dot file extensions for 6.0
-
BAYES
public static final ResourceType BAYES
Bayesian
-
TDRL
public static final ResourceType TDRL
Drools Rule Language - Guided Decision Trees - Workaround for double-dot file extensions for 6.0
-
TEMPLATE
public static final ResourceType TEMPLATE
-
DRT
@Deprecated public static final ResourceType DRT
Deprecated.Since 8. Considerdrools-decisiontablesor third party templating features
-
GDST
public static final ResourceType GDST
-
SCGD
public static final ResourceType SCGD
-
SOLVER
public static final ResourceType SOLVER
-
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
-
-
Method Detail
-
addResourceTypeToRegistry
public static ResourceType addResourceTypeToRegistry(java.lang.String resourceType, java.lang.String description, java.lang.String defaultPath, java.lang.String defaultExtension, java.lang.String... otherExtensions)
-
addResourceTypeToRegistry
public static ResourceType addResourceTypeToRegistry(java.lang.String resourceType, boolean isNative, java.lang.String description, java.lang.String defaultPath, java.lang.String defaultExtension, java.lang.String... otherExtensions)
-
determineResourceType
public static ResourceType determineResourceType(java.lang.String resourceName)
-
matchesExtension
public boolean matchesExtension(java.lang.String resourceName)
-
isFullyCoveredByExecModel
public boolean isFullyCoveredByExecModel()
-
getDefaultPath
public java.lang.String getDefaultPath()
-
getDefaultExtension
public java.lang.String getDefaultExtension()
-
getAllExtensions
public java.util.List<java.lang.String> getAllExtensions()
-
getDescription
public java.lang.String getDescription()
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-