org.drools.semantics.python
Class PythonFunctions

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

public class PythonFunctions
extends java.lang.Object
implements Functions

Python block semantics Functions.

See Also:
Serialized Form
 

Constructor Summary
PythonFunctions(java.lang.String name, java.lang.String text)
          Construct.
 
Method Summary
 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

PythonFunctions

public PythonFunctions(java.lang.String name,
                       java.lang.String text)
Construct.

Parameters:
text - The block text.
Method Detail

getText

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

getSemantic

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