org.drools.semantics.python
Class PythonFunctions
java.lang.Object
org.drools.semantics.python.PythonFunctions
- All Implemented Interfaces:
- java.io.Serializable, SemanticComponent, Functions
public class PythonFunctions
- extends java.lang.Object
- implements Functions, SemanticComponent
Python block semantics Functions.
- See Also:
- Serialized Form
|
Field Summary |
protected java.lang.String |
name
|
protected java.lang.String |
semanticType
|
|
Constructor Summary |
PythonFunctions(java.lang.String name,
java.lang.String text)
Construct. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
semanticType
protected final java.lang.String semanticType
- See Also:
- Constant Field Values
name
protected final java.lang.String name
PythonFunctions
public PythonFunctions(java.lang.String name,
java.lang.String text)
- Construct.
- Parameters:
text - The block text.
getSemanticType
public java.lang.String getSemanticType()
- Specified by:
getSemanticType in interface SemanticComponent
getName
public java.lang.String getName()
- Description copied from interface:
SemanticComponent
- Returns the name of the component
- Specified by:
getName in interface SemanticComponent
getText
public java.lang.String getText()
- Specified by:
getText in interface Functions
getSemantic
public java.lang.String getSemantic()