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(Tuple tuple) |
void |
addQueuedLeftTuple(Tuple tuple) |
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) |
TupleList |
getLeftTupleList() |
PathMemory |
getPathMemory() |
RuleAgendaItem |
getRuleAgendaItem() |
boolean |
isDeclarativeAgendaEnabled() |
boolean |
isDirty() |
void |
reEvaluateNetwork(InternalWorkingMemory wm) |
void |
removeLeftTuple(Tuple tuple) |
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 TupleList getLeftTupleList()
public void addLeftTuple(Tuple tuple)
public void addQueuedLeftTuple(Tuple tuple)
public void removeLeftTuple(Tuple tuple)
public void cancel(InternalWorkingMemory wm, EventSupport es)
public boolean isDirty()
public void setDirty(boolean dirty)
public boolean isDeclarativeAgendaEnabled()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.