org.drools.semantics.java
Class JavaFunctions
java.lang.Object
org.drools.semantics.java.JavaFunctions
- All Implemented Interfaces:
- java.io.Serializable, SemanticComponent, SemanticFunctions, Functions
- Direct Known Subclasses:
- GroovyFunctions
public class JavaFunctions
- extends java.lang.Object
- implements Functions, SemanticFunctions
Python block semantics Consequence
.
- See Also:
- Serialized Form
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
text
protected final java.lang.String text
ruleSet
protected final RuleSet ruleSet
JavaFunctions
public JavaFunctions(java.lang.String name,
java.lang.String text,
RuleSet ruleSet)
getText
public java.lang.String getText()
- Specified by:
getText
in interface Functions
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
getSemanticFunctionsCompiler
public SemanticFunctionsCompiler getSemanticFunctionsCompiler()
- Specified by:
getSemanticFunctionsCompiler
in interface SemanticFunctions