org.drools.semantics.java
Class JavaFunctions

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

public class JavaFunctions
extends Object
implements Functions

Python block semantics Consequence.

Version:
$Id: JavaFunctions.java,v 1.4 2005/02/05 02:06:14 mproctor Exp $
Author:
bob mcwhirter
See Also:
Serialized Form

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

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

getText

public String getText()
Specified by:
getText in interface Functions

getFunctionsClass

public Class getFunctionsClass()

getSemantic

public String getSemantic()
Specified by:
getSemantic in interface Functions


Copyright © 2001-2005 The Codehaus. All Rights Reserved.