org.drools.semantics.groovy
Class GroovyBlockConsequence
java.lang.Object
org.drools.semantics.java.JavaBlockConsequence
org.drools.semantics.groovy.GroovyBlockConsequence
- All Implemented Interfaces:
- java.io.Serializable, SemanticComponent, SemanticConsequence, SemanticInvokeable, SemanticRule, Consequence, RuleComponent
public class GroovyBlockConsequence
- extends JavaBlockConsequence
- implements java.io.Serializable, Consequence, SemanticConsequence
Java block semantics Consequence
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
thrownException
protected final java.lang.String thrownException
GroovyBlockConsequence
public GroovyBlockConsequence(java.lang.String name,
java.lang.String block,
Rule rule)
throws java.lang.Exception
- Construct.
- Parameters:
block
- The statement block.rule
- The rule.
- Throws:
java.lang.Exception
getSemanticType
public java.lang.String getSemanticType()
- Specified by:
getSemanticType
in interface SemanticComponent
- Overrides:
getSemanticType
in class JavaBlockConsequence
isExceptionThrown
public boolean isExceptionThrown()
- Specified by:
isExceptionThrown
in interface SemanticInvokeable
- Overrides:
isExceptionThrown
in class JavaBlockConsequence
getThrownException
public java.lang.String getThrownException()
- Specified by:
getThrownException
in interface SemanticInvokeable
- Overrides:
getThrownException
in class JavaBlockConsequence
getSemanticRuleCompiler
public SemanticRuleCompiler getSemanticRuleCompiler()
- Specified by:
getSemanticRuleCompiler
in interface SemanticRule
- Overrides:
getSemanticRuleCompiler
in class JavaBlockConsequence