org.drools.semantics.java
Class JavaFunctions
java.lang.Object
org.drools.semantics.java.JavaFunctions
- All Implemented Interfaces:
- java.io.Serializable, Functions, SemanticComponent
public class JavaFunctions
- extends java.lang.Object
- implements Functions
Python block semantics Consequence
.
- See Also:
- Serialized Form
-

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaFunctions
public JavaFunctions(RuleSet ruleSet,
int id,
java.lang.String text)
throws CompilationException,
java.io.IOException,
java.lang.ClassNotFoundException
- Construct.
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
CompilationException
java.io.IOException
org.codehaus.janino.Scanner.ScanException
org.codehaus.janino.Parser.ParseException
org.codehaus.janino.Java.CompileException
- Parameters:
classLoader
- text
- The block text.
getText
public java.lang.String getText()
- Specified by:
getText
in interface Functions
getFunctionsClass
public java.lang.Class getFunctionsClass()
throws CompilationException,
java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
CompilationException
java.io.IOException
java.lang.ClassNotFoundException
getSemantic
public java.lang.String getSemantic()
- Specified by:
getSemantic
in interface Functions