|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.rule.builder.PackageBuildContext
public class PackageBuildContext
A context for the current build
Constructor Summary | |
---|---|
PackageBuildContext()
|
Method Summary | |
---|---|
PackageBuilderConfiguration |
getConfiguration()
|
int |
getCurrentId()
Returns current counter value for generated method names |
Map |
getDescrLookups()
Returns the Map |
Dialect |
getDialect()
|
Dialect |
getDialect(String dialectName)
|
DialectCompiletimeRegistry |
getDialectRegistry()
|
List |
getErrors()
Returns the list of errors found while building the current context |
Map |
getInvokerLookups()
Returns the Map |
Map |
getInvokers()
Returns the Map |
List |
getMethods()
Returns the list of generated methods |
int |
getNextId()
|
PackageBuilder |
getPackageBuilder()
|
BaseDescr |
getParentDescr()
|
Package |
getPkg()
Returns the current package being built |
void |
init(PackageBuilder pkgBuilder,
Package pkg,
BaseDescr parentDescr,
DialectCompiletimeRegistry dialectRegistry,
Dialect defaultDialect,
Dialectable component)
Default constructor |
boolean |
isTypesafe()
|
void |
setDescrLookups(Map descrLookups)
|
void |
setDialect(Dialect dialect)
Allows the change of the current dialect in the context |
void |
setInvokerLookups(Map invokerLookups)
|
void |
setInvokers(Map invokers)
|
void |
setMethods(List methods)
|
void |
setParentDescr(BaseDescr descr)
|
void |
setTypesafe(boolean stricttype)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackageBuildContext()
Method Detail |
---|
public void init(PackageBuilder pkgBuilder, Package pkg, BaseDescr parentDescr, DialectCompiletimeRegistry dialectRegistry, Dialect defaultDialect, Dialectable component)
public BaseDescr getParentDescr()
public void setParentDescr(BaseDescr descr)
public Dialect getDialect()
public void setDialect(Dialect dialect)
public Dialect getDialect(String dialectName)
public DialectCompiletimeRegistry getDialectRegistry()
public List getErrors()
public Package getPkg()
public Map getDescrLookups()
public void setDescrLookups(Map descrLookups)
public Map getInvokerLookups()
public void setInvokerLookups(Map invokerLookups)
public Map getInvokers()
public void setInvokers(Map invokers)
public List getMethods()
public void setMethods(List methods)
public int getCurrentId()
public int getNextId()
public PackageBuilderConfiguration getConfiguration()
public PackageBuilder getPackageBuilder()
public boolean isTypesafe()
public void setTypesafe(boolean stricttype)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |