org.drools.semantics.java
Class JavaFunctions

java.lang.Object
  extended byorg.drools.semantics.java.JavaFunctions
All Implemented Interfaces:
Functions, SemanticComponent, java.io.Serializable

public class JavaFunctions
extends java.lang.Object
implements Functions

Python block semantics Consequence.

See Also:
Serialized Form
 

Constructor Summary
JavaFunctions(RuleSet ruleSet, 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,
                     java.lang.String text)
              throws net.janino.Scanner.ScanException,
                     java.io.IOException,
                     net.janino.Java.CompileException,
                     net.janino.Parser.ParseException
Construct.

Throws:
java.io.IOException
ScanException
ParseException
CompileException
net.janino.Scanner.ScanException
net.janino.Java.CompileException
net.janino.Parser.ParseException
Parameters:
text - The block text.
Method Detail

getText

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

getFunctionsClass

public java.lang.Class getFunctionsClass()

getSemantic

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