Package org.drools.compiler.compiler
Interface Dialect
-
- All Known Implementing Classes:
Dialect.DummyDialect
public interface Dialect
A Dialect implementation handles the building and execution of code expressions and blocks for a rule. This api is considered unstable, and subject to change. Those wishing to implement their own dialects should look ove the MVEL and Java dialect implementations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Dialect.DummyDialect
-
Method Summary
-
-
-
Method Detail
-
getId
String getId()
-
getExpressionDialectName
String getExpressionDialectName()
-
getBuilders
Map<Class<?>,EngineElementBuilder> getBuilders()
-
getTypeResolver
org.drools.core.addon.TypeResolver getTypeResolver()
-
getSalienceBuilder
SalienceBuilder getSalienceBuilder()
-
getEnabledBuilder
EnabledBuilder getEnabledBuilder()
-
getPatternBuilder
PatternBuilder getPatternBuilder()
-
getQueryBuilder
QueryBuilder getQueryBuilder()
-
getEvalBuilder
RuleConditionBuilder getEvalBuilder()
-
getAccumulateBuilder
AccumulateBuilder getAccumulateBuilder()
-
getPredicateBuilder
PredicateBuilder getPredicateBuilder()
-
getReturnValueBuilder
ReturnValueBuilder getReturnValueBuilder()
-
getConsequenceBuilder
ConsequenceBuilder getConsequenceBuilder()
-
getRuleClassBuilder
RuleClassBuilder getRuleClassBuilder()
-
getFromBuilder
FromBuilder getFromBuilder()
-
getEntryPointBuilder
EntryPointBuilder getEntryPointBuilder()
-
getBuilder
EngineElementBuilder getBuilder(Class clazz)
-
analyzeExpression
AnalysisResult analyzeExpression(PackageBuildContext context, BaseDescr descr, Object content, BoundIdentifiers availableIdentifiers)
-
analyzeBlock
AnalysisResult analyzeBlock(PackageBuildContext context, BaseDescr descr, String text, BoundIdentifiers availableIdentifiers)
-
compileAll
void compileAll()
-
addRule
void addRule(RuleBuildContext context)
-
addFunction
void addFunction(FunctionDescr functionDescr, org.drools.core.addon.TypeResolver typeResolver, org.kie.api.io.Resource resource)
-
addImport
void addImport(ImportDescr importDescr)
-
addStaticImport
void addStaticImport(ImportDescr importDescr)
-
getResults
List<org.kie.internal.builder.KnowledgeBuilderResult> getResults()
-
clearResults
void clearResults()
-
init
void init(RuleDescr ruleDescr)
-
init
void init(ProcessDescr processDescr)
-
postCompileAddFunction
void postCompileAddFunction(FunctionDescr functionDescr, org.drools.core.addon.TypeResolver typeResolver)
-
preCompileAddFunction
void preCompileAddFunction(FunctionDescr functionDescr, org.drools.core.addon.TypeResolver typeResolver)
-
getPackageRegistry
PackageRegistry getPackageRegistry()
-
isStrictMode
default boolean isStrictMode()
-
isJava
default boolean isJava()
-
addSrc
default void addSrc(String resourceName, byte[] content)
-
-