Drools :: Core 6.0.0.Beta5

org.drools.core.phreak
Class RuleExecutor

java.lang.Object
  extended by org.drools.core.phreak.RuleExecutor

public class RuleExecutor
extends Object


Nested Class Summary
static class RuleExecutor.SalienceComparator
           
 
Field Summary
protected static org.slf4j.Logger log
           
 
Constructor Summary
RuleExecutor(PathMemory pmem, RuleAgendaItem ruleAgendaItem, boolean declarativeAgendaEnabled)
           
 
Method Summary
 void addLeftTuple(LeftTuple leftTuple)
           
 void addQueuedLeftTuple(LeftTuple leftTuple)
           
 void cancel(InternalWorkingMemory wm, EventSupport es)
           
 void evaluateNetwork(InternalWorkingMemory wm)
           
 int evaluateNetworkAndFire(InternalWorkingMemory wm, AgendaFilter filter, int fireCount, int fireLimit)
           
 LeftTupleList getLeftTupleList()
           
 RuleAgendaItem getRuleAgendaItem()
           
 boolean isDeclarativeAgendaEnabled()
           
 boolean isDirty()
           
 boolean isHighestSalience(RuleAgendaItem nextRule, int currentSalience)
           
 void reEvaluateNetwork(InternalWorkingMemory wm, LinkedList<StackEntry> outerStack, boolean fireUntilHalt)
           
 void removeLeftTuple(LeftTuple leftTuple)
           
 void removeQueuedLeftTuple(LeftTuple leftTuple)
           
 void removeRuleAgendaItemWhenEmpty(InternalWorkingMemory wm)
           
 void setDirty(boolean dirty)
           
 void updateLeftTuple(RuleTerminalNodeLeftTuple leftTuple, int salience, PropagationContext pctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static transient org.slf4j.Logger log
Constructor Detail

RuleExecutor

public RuleExecutor(PathMemory pmem,
                    RuleAgendaItem ruleAgendaItem,
                    boolean declarativeAgendaEnabled)
Method Detail

evaluateNetwork

public void evaluateNetwork(InternalWorkingMemory wm)

evaluateNetworkAndFire

public int evaluateNetworkAndFire(InternalWorkingMemory wm,
                                  AgendaFilter filter,
                                  int fireCount,
                                  int fireLimit)

removeRuleAgendaItemWhenEmpty

public void removeRuleAgendaItemWhenEmpty(InternalWorkingMemory wm)

reEvaluateNetwork

public void reEvaluateNetwork(InternalWorkingMemory wm,
                              LinkedList<StackEntry> outerStack,
                              boolean fireUntilHalt)

getRuleAgendaItem

public RuleAgendaItem getRuleAgendaItem()

isHighestSalience

public boolean isHighestSalience(RuleAgendaItem nextRule,
                                 int currentSalience)

getLeftTupleList

public LeftTupleList getLeftTupleList()

addLeftTuple

public void addLeftTuple(LeftTuple leftTuple)

addQueuedLeftTuple

public void addQueuedLeftTuple(LeftTuple leftTuple)

removeLeftTuple

public void removeLeftTuple(LeftTuple leftTuple)

removeQueuedLeftTuple

public void removeQueuedLeftTuple(LeftTuple leftTuple)

updateLeftTuple

public void updateLeftTuple(RuleTerminalNodeLeftTuple leftTuple,
                            int salience,
                            PropagationContext pctx)

cancel

public void cancel(InternalWorkingMemory wm,
                   EventSupport es)

isDirty

public boolean isDirty()

setDirty

public void setDirty(boolean dirty)

isDeclarativeAgendaEnabled

public boolean isDeclarativeAgendaEnabled()

Drools :: Core 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.