public class MVELConsequence extends Object implements org.drools.core.spi.Consequence, MVELCompileable, Externalizable
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
MVELConsequence() |
MVELConsequence(MVELCompilationUnit unit,
String id,
String consequenceName) |
| Modifier and Type | Method and Description |
|---|---|
void |
compile(MVELDialectRuntimeData runtimeData) |
void |
compile(MVELDialectRuntimeData runtimeData,
org.drools.core.definitions.rule.impl.RuleImpl rule) |
void |
evaluate(org.drools.core.spi.KnowledgeHelper knowledgeHelper,
org.drools.core.WorkingMemory workingMemory) |
Serializable |
getCompExpr() |
String |
getName() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public MVELConsequence()
public MVELConsequence(MVELCompilationUnit unit, String id, String consequenceName)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void compile(MVELDialectRuntimeData runtimeData)
compile in interface MVELCompileablepublic void compile(MVELDialectRuntimeData runtimeData, org.drools.core.definitions.rule.impl.RuleImpl rule)
compile in interface MVELCompileablepublic void evaluate(org.drools.core.spi.KnowledgeHelper knowledgeHelper,
org.drools.core.WorkingMemory workingMemory)
throws Exception
evaluate in interface org.drools.core.spi.ConsequenceExceptionpublic Serializable getCompExpr()
public String getName()
getName in interface org.drools.core.spi.ConsequenceCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.