| java.lang.Object org.drools.rule.builder.dialect.java.JavaDialect
Field Summary | |
final public static String | ID |
JavaDialect | public JavaDialect()(Code) | | |
addClassName | public void addClassName(String className)(Code) | | |
addRule | public void addRule(RuleBuildContext context)(Code) | | This will add the rule for compiling later on.
It will not actually call the compiler
|
addStaticImport | public void addStaticImport(String staticImportEntry)(Code) | | |
compileAll | public void compileAll()(Code) | | This actually triggers the compiling of all the resources.
Errors are mapped back to the element that originally generated the semantic
code.
|
getExpressionDialectName | public String getExpressionDialectName()(Code) | | |
getTypeResolver | public TypeResolver getTypeResolver()(Code) | | Returns the current type resolver instance
|
getUniqueLegalName | public static String getUniqueLegalName(String packageName, String name, String ext, ResourceReader src)(Code) | | Takes a given name and makes sure that its legal and doesn't already exist. If the file exists it increases counter appender untill it is unique.
TODO: move out to shared utility class
Parameters: packageName - Parameters: name - Parameters: ext - |
initBuilder | public void initBuilder()(Code) | | |
setRuleClass | public void setRuleClass(String ruleClass)(Code) | | |
|
|