| java.lang.Object org.drools.rule.builder.RuleBuildContext
All known Subclasses: org.drools.rule.builder.dialect.mvel.InstrumentedBuildContent,
RuleBuildContext | public class RuleBuildContext (Code) | | A context for the current build
author: etirelli |
getCurrentId | public int getCurrentId()(Code) | | Returns current counter value for generated method names
|
getDescrLookups | public Map getDescrLookups()(Code) | | Returns the Map of descriptor lookups
|
getErrors | public List getErrors()(Code) | | Returns the list of errors found while building the current context
|
getInvokerLookups | public Map getInvokerLookups()(Code) | | Returns the Map of generated invoker lookups
|
getInvokers | public Map getInvokers()(Code) | | Returns the Map of generated invokers
|
getMethods | public List getMethods()(Code) | | Returns the list of generated methods
|
getNextId | public int getNextId()(Code) | | |
getNextPatternId | public int getNextPatternId()(Code) | | |
getPatternId | public int getPatternId()(Code) | | |
getPkg | public Package getPkg()(Code) | | Returns the current package being built
|
getRule | public Rule getRule()(Code) | | Returns the current Rule being built
|
getRuleDescr | public RuleDescr getRuleDescr()(Code) | | Returns the current RuleDescriptor
|
setAttributes | public static void setAttributes(Rule rule, RuleDescr ruleDescr, List attributes)(Code) | | Sets rule Attributes
Parameters: rule - Parameters: attributes - |
setDeclarationResolver | public void setDeclarationResolver(DeclarationScopeResolver variables)(Code) | | Sets the available declarationResolver instance
Parameters: declarationResolver - |
setDescrLookups | public void setDescrLookups(Map descrLookups)(Code) | | |
setDialect | public void setDialect(Dialect dialect)(Code) | | Allows the change of the current dialect in the context
|
setInvokerLookups | public void setInvokerLookups(Map invokerLookups)(Code) | | |
setInvokers | public void setInvokers(Map invokers)(Code) | | |
setMethods | public void setMethods(List methods)(Code) | | |
setPatternId | public void setPatternId(int patternId)(Code) | | |
|
|