org.drools.semantics.java
Class JavaFunctions

java.lang.Object
  extended by 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
 

Constructor Summary
JavaFunctions(RuleSet ruleSet, int id, java.lang.String text)
          Construct.
 
Method Summary
 java.lang.Class getFunctionsClass()
           
 java.lang.String getSemantic()
           
 java.lang.String getText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaFunctions

public JavaFunctions(RuleSet ruleSet,
                     int id,
                     java.lang.String text)
              throws ScanException,
                     java.io.IOException,
                     CompileException,
                     ParseException
Construct.

Throws:
java.io.IOException
ScanException
ParseException
CompileException
Parameters:
classLoader -
text - The block text.
Method Detail

getText

public java.lang.String getText()
Specified by:
getText in interface Functions

getFunctionsClass

public java.lang.Class getFunctionsClass()
                                  throws ScanException,
                                         CompileException,
                                         ParseException,
                                         java.io.IOException
Throws:
ScanException
CompileException
ParseException
java.io.IOException

getSemantic

public java.lang.String getSemantic()
Specified by:
getSemantic in interface Functions