org.drools.semantics.java
Class JavaSemanticFunctionsCompiler
java.lang.Object
org.drools.semantics.java.AbstractSemanticCompiler
org.drools.semantics.java.JavaSemanticFunctionsCompiler
- All Implemented Interfaces:
- SemanticCompiler, SemanticFunctionsCompiler
- Direct Known Subclasses:
- GroovySemanticFunctionsCompiler
public class JavaSemanticFunctionsCompiler
- extends AbstractSemanticCompiler
- implements SemanticFunctionsCompiler
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaSemanticFunctionsCompiler
protected JavaSemanticFunctionsCompiler(java.lang.String semanticType,
JavaCompiler compiler)
getInstance
public static SemanticFunctionsCompiler getInstance()
generate
public void generate(Functions functions,
java.util.Set imports,
java.lang.String packageName,
java.lang.String className,
java.lang.String parentClass,
ResourceReader src,
java.util.Map files)
throws java.io.IOException
- Specified by:
generate
in interface SemanticFunctionsCompiler
- Throws:
java.io.IOException
getSemanticType
public java.lang.String getSemanticType()
- Specified by:
getSemanticType
in interface SemanticCompiler
getFileExtension
public java.lang.String getFileExtension()
- Specified by:
getFileExtension
in interface SemanticCompiler
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
hashcode
public int hashcode()