org.drools.semantics.groovy
Class GroovyFunctions

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

public class GroovyFunctions
extends java.lang.Object
implements Functions

Python block semantics Consequence.

See Also:
Serialized Form
 

Constructor Summary
GroovyFunctions(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

GroovyFunctions

public GroovyFunctions(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