public class RuleBuildContext extends PackageBuildContext
| Constructor and Description |
|---|
RuleBuildContext(DroolsAssemblerContext kBuilder,
RuleDescr ruleDescr,
DialectCompiletimeRegistry dialectCompiletimeRegistry,
org.drools.core.definitions.InternalKnowledgePackage pkg,
Dialect defaultDialect)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
DroolsCompilerComponentFactory |
getCompilerFactory() |
org.drools.core.spi.DeclarationScopeResolver |
getDeclarationResolver()
Returns the available declarationResolver instance
|
Optional<org.drools.core.rule.EntryPointId> |
getEntryPointId(org.kie.internal.ruleunit.RuleUnitDescription ruDescr,
String name) |
Optional<org.drools.core.rule.EntryPointId> |
getEntryPointId(String name) |
int |
getNextPatternId() |
org.drools.core.rule.Pattern |
getPrefixPattern() |
org.drools.core.definitions.rule.impl.RuleImpl |
getRule()
Returns the current Rule being built
|
RuleDescr |
getRuleDescr()
Returns the current RuleDescriptor
|
void |
initRule() |
boolean |
isInXpath() |
boolean |
needsStreamMode() |
Class<?> |
resolveVarType(String identifier) |
void |
setDeclarationResolver(org.drools.core.spi.DeclarationScopeResolver declarationResolver)
Sets the available declarationResolver instance
|
void |
setInXpath(boolean inXpath) |
void |
setNeedStreamMode() |
void |
setPrefixPattern(org.drools.core.rule.Pattern prefixPattern) |
addDescrLookups, addError, addInvoker, addInvokerLookup, addMethod, addWarning, getConfiguration, getCurrentId, getDescrLookup, getDialect, getDialect, getDialectRegistry, getErrors, getInvokerLookup, getInvokers, getKnowledgeBuilder, getMethods, getMVELDialectRuntimeData, getNextId, getParentDescr, getPkg, getWarnings, init, isTypesafe, setDialect, setParentDescr, setTypesafepublic RuleBuildContext(DroolsAssemblerContext kBuilder, RuleDescr ruleDescr, DialectCompiletimeRegistry dialectCompiletimeRegistry, org.drools.core.definitions.InternalKnowledgePackage pkg, Dialect defaultDialect)
public org.drools.core.definitions.rule.impl.RuleImpl getRule()
public RuleDescr getRuleDescr()
public org.drools.core.spi.DeclarationScopeResolver getDeclarationResolver()
public void setDeclarationResolver(org.drools.core.spi.DeclarationScopeResolver declarationResolver)
public int getNextPatternId()
public DroolsCompilerComponentFactory getCompilerFactory()
public boolean needsStreamMode()
public void setNeedStreamMode()
public void setPrefixPattern(org.drools.core.rule.Pattern prefixPattern)
public org.drools.core.rule.Pattern getPrefixPattern()
public boolean isInXpath()
public void setInXpath(boolean inXpath)
public void initRule()
public Class<?> resolveVarType(String identifier)
resolveVarType in class PackageBuildContextCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.