Package org.drools.ruleunits.impl
Class GeneratedRuleUnitDescription
java.lang.Object
org.drools.ruleunits.impl.AbstractRuleUnitDescription
org.drools.ruleunits.impl.GeneratedRuleUnitDescription
- All Implemented Interfaces:
RuleUnitDescription
-
Constructor Summary
ConstructorsConstructorDescriptionGeneratedRuleUnitDescription(String name, ClassLoader contextClassLoader) GeneratedRuleUnitDescription(String name, Function<String, Class<?>> typeResolver) GeneratedRuleUnitDescription(String name, org.drools.util.TypeResolver typeResolver) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidputDatasourceVar(String name, Class<?> datasourceType, Class<?> datasourceParameterType) voidputDatasourceVar(String name, String datasourceTypeFQCN, String datasourceParameterTypeFQCN) voidputSimpleVar(String name, Class<?> varType) voidputSimpleVar(String name, String varTypeFQCN) Methods inherited from class org.drools.ruleunits.impl.AbstractRuleUnitDescription
equals, getClockType, getConfig, getDatasourceType, getKieBaseOptions, getUnitVarDeclarations, getUnitVars, getVarType, hasDataSource, hashCode, hasVar, putRuleUnitVariable, setConfigMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.internal.ruleunit.RuleUnitDescription
getEntryPointName, getRuleUnitClass
-
Constructor Details
-
GeneratedRuleUnitDescription
-
GeneratedRuleUnitDescription
-
GeneratedRuleUnitDescription
-
-
Method Details
-
getCanonicalName
-
getSimpleName
-
getPackageName
-
getRuleUnitName
-
getVar
- Specified by:
getVarin interfaceRuleUnitDescription- Overrides:
getVarin classAbstractRuleUnitDescription
-
putSimpleVar
-
putDatasourceVar
-
putSimpleVar
-
putDatasourceVar
-
isGenerated
public boolean isGenerated()
-