Package org.kie.api.io
Class ResourceType
- java.lang.Object
- 
- org.kie.api.io.ResourceType
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class ResourceType extends Object implements Serializable - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields 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
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceTypeaddResourceTypeToRegistry(String resourceType, boolean isNative, String description, String defaultPath, String defaultExtension, String... otherExtensions)static ResourceTypeaddResourceTypeToRegistry(String resourceType, String description, String defaultPath, String defaultExtension, String... otherExtensions)static ResourceTypedetermineResourceType(String resourceName)booleanequals(Object obj)List<String>getAllExtensions()StringgetDefaultExtension()StringgetDefaultPath()StringgetDescription()StringgetName()inthashCode()booleanisFullyCoveredByExecModel()booleanmatchesExtension(String resourceName)StringtoString()
 
- 
- 
- 
Field Detail- 
DRLpublic static final ResourceType DRL Drools Rule Language
 - 
DRLXpublic static final ResourceType DRLX 
 - 
GDRLpublic static final ResourceType GDRL Drools Rule Language - Guided Globals definitions - Workaround for double-dot file extensions for 6.0
 - 
RDRLpublic static final ResourceType RDRL Drools Rule Language - Guided Rules (without DSL) - Workaround for double-dot file extensions for 6.0
 - 
DSLpublic static final ResourceType DSL Drools DSL
 - 
DSLRpublic static final ResourceType DSLR Drools DSL Rule
 - 
RDSLRpublic static final ResourceType RDSLR Drools Rule Language - Guided Rules (with DSL) - Workaround for double-dot file extensions for 6.0
 - 
DRFpublic static final ResourceType DRF Drools Rule Flow Language
 - 
BPMN2public static final ResourceType BPMN2 jBPM BPMN2 Language
 - 
CMMNpublic static final ResourceType CMMN jBPM CMMN Language
 - 
DTABLEpublic static final ResourceType DTABLE Decision Table
 - 
XSDpublic static final ResourceType XSD XSD
 - 
PMMLpublic static final ResourceType PMML PMML
 - 
DESCRpublic static final ResourceType DESCR DESCR
 - 
JAVApublic static final ResourceType JAVA JAVA
 - 
PROPERTIESpublic static final ResourceType PROPERTIES PROPERTIES
 - 
SCARDpublic static final ResourceType SCARD Score Card - Workaround for double-dot file extensions for 6.0
 - 
BAYESpublic static final ResourceType BAYES Bayesian
 - 
TDRLpublic static final ResourceType TDRL Drools Rule Language - Guided Decision Trees - Workaround for double-dot file extensions for 6.0
 - 
TEMPLATEpublic static final ResourceType TEMPLATE 
 - 
DRT@Deprecated public static final ResourceType DRT Deprecated.Since 8. Considerdrools-decisiontablesor third party templating features
 - 
GDSTpublic static final ResourceType GDST 
 - 
SCGDpublic static final ResourceType SCGD 
 - 
SOLVERpublic static final ResourceType SOLVER 
 - 
DMNpublic static final ResourceType DMN Decision Model and Notation (DMN) model
 - 
FEELpublic static final ResourceType FEEL DMN FEEL expression language
 - 
NOOPpublic static final ResourceType NOOP NO-Operation ResourceType - used for example to dynamically disable a given AssemblerService
 
- 
 - 
Method Detail- 
addResourceTypeToRegistrypublic static ResourceType addResourceTypeToRegistry(String resourceType, String description, String defaultPath, String defaultExtension, String... otherExtensions) 
 - 
addResourceTypeToRegistrypublic static ResourceType addResourceTypeToRegistry(String resourceType, boolean isNative, String description, String defaultPath, String defaultExtension, String... otherExtensions) 
 - 
determineResourceTypepublic static ResourceType determineResourceType(String resourceName) 
 - 
matchesExtensionpublic boolean matchesExtension(String resourceName) 
 - 
isFullyCoveredByExecModelpublic boolean isFullyCoveredByExecModel() 
 - 
getDefaultPathpublic String getDefaultPath() 
 - 
getDefaultExtensionpublic String getDefaultExtension() 
 - 
getDescriptionpublic String getDescription() 
 - 
getNamepublic String getName() 
 
- 
 
-