public class DialectCompiletimeRegistry extends Object
Constructor and Description |
---|
DialectCompiletimeRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addDialect(String name,
Dialect dialect)
Add a DialectConfiguration to the registry
|
void |
addImport(ImportDescr importDescr)
Iterates all registered dialects, informing them of an import added to the PackageBuilder
|
List<org.kie.internal.builder.KnowledgeBuilderResult> |
addResults(List<org.kie.internal.builder.KnowledgeBuilderResult> list)
Add all registered Dialect results to the provided List.
|
void |
addStaticImport(ImportDescr importDescr)
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
|
public void addDialect(String name, Dialect dialect)
name
- dialect
- public Dialect getDialect(String name)
name
- public void compileAll()
public Iterator iterator()
public List<org.kie.internal.builder.KnowledgeBuilderResult> addResults(List<org.kie.internal.builder.KnowledgeBuilderResult> list)
list
- public void addImport(ImportDescr importDescr)
importEntry
- public void addStaticImport(ImportDescr importDescr)
staticImportEntry
- Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.