|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.compiler.DialectCompiletimeRegistry
public class DialectCompiletimeRegistry
A Registry of DialectConfigurations. It is also responsible for issueing actions to all registered dialects. This Class api is subject to change.
Constructor Summary | |
---|---|
DialectCompiletimeRegistry(Package pkg)
|
Method Summary | |
---|---|
void |
addDialect(String name,
Dialect dialect)
Add a DialectConfiguration to the registry |
void |
addImport(String importEntry)
Iterates all registered dialects, informing them of an import added to the PackageBuilder |
List |
addResults(List list)
Add all registered Dialect results to the provided List. |
void |
addStaticImport(String staticImportEntry)
Iterates all registered dialects, informing them of a static imports added to the PackageBuilder |
void |
compileAll()
Instruct all registered dialects to compile what ever they have attempted to build. |
Dialect |
getDialect(String name)
Get a DialectConfiguration for a named dialect |
Iterator |
iterator()
Return an Iterator of DialectConfigurations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DialectCompiletimeRegistry(Package pkg)
Method Detail |
---|
public void addDialect(String name, Dialect dialect)
name
- dialect
- public Dialect getDialect(String name)
name
-
public void compileAll()
public Iterator iterator()
public List addResults(List list)
list
-
public void addImport(String importEntry)
importEntry
- public void addStaticImport(String staticImportEntry)
staticImportEntry
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |