public class RuleExecutor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RuleExecutor.SalienceComparator |
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
RuleExecutor(PathMemory pmem,
RuleAgendaItem ruleAgendaItem,
boolean declarativeAgendaEnabled) |
Modifier and Type | Method and Description |
---|---|
void |
addLeftTuple(LeftTuple leftTuple) |
void |
addQueuedLeftTuple(LeftTuple leftTuple) |
void |
cancel(InternalWorkingMemory wm,
EventSupport es) |
void |
evaluateNetwork(InternalWorkingMemory wm) |
int |
evaluateNetworkAndFire(InternalWorkingMemory wm,
org.kie.api.runtime.rule.AgendaFilter filter,
int fireCount,
int fireLimit) |
void |
fire(InternalWorkingMemory wm) |
LeftTupleList |
getLeftTupleList() |
PathMemory |
getPathMemory() |
RuleAgendaItem |
getRuleAgendaItem() |
boolean |
isDeclarativeAgendaEnabled() |
boolean |
isDirty() |
void |
reEvaluateNetwork(InternalWorkingMemory wm) |
void |
removeLeftTuple(LeftTuple leftTuple) |
void |
removeRuleAgendaItemWhenEmpty(InternalWorkingMemory wm) |
void |
setDirty(boolean dirty) |
public RuleExecutor(PathMemory pmem, RuleAgendaItem ruleAgendaItem, boolean declarativeAgendaEnabled)
public void evaluateNetwork(InternalWorkingMemory wm)
public int evaluateNetworkAndFire(InternalWorkingMemory wm, org.kie.api.runtime.rule.AgendaFilter filter, int fireCount, int fireLimit)
public void fire(InternalWorkingMemory wm)
public PathMemory getPathMemory()
public void removeRuleAgendaItemWhenEmpty(InternalWorkingMemory wm)
public void reEvaluateNetwork(InternalWorkingMemory wm)
public RuleAgendaItem getRuleAgendaItem()
public LeftTupleList getLeftTupleList()
public void addLeftTuple(LeftTuple leftTuple)
public void addQueuedLeftTuple(LeftTuple leftTuple)
public void removeLeftTuple(LeftTuple leftTuple)
public void cancel(InternalWorkingMemory wm, EventSupport es)
public boolean isDirty()
public void setDirty(boolean dirty)
public boolean isDeclarativeAgendaEnabled()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.