Drools :: Core 6.0.0.Beta3

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
           
 
Constructor Summary
RuleExecutor(PathMemory pmem, RuleAgendaItem ruleAgendaItem, boolean declarativeAgendaEnabled)
           
 
Method Summary
 void addLeftTuple(LeftTuple leftTuple)
           
 void addQueuedLeftTuple(LeftTuple leftTuple)
           
 void evaluateNetwork(InternalWorkingMemory wm)
           
 int evaluateNetworkAndFire(InternalWorkingMemory wm, AgendaFilter filter, int fireCount, int fireLimit)
           
 RuleAgendaItem getRuleAgendaItem()
           
 boolean isDeclarativeAgendaEnabled()
           
 boolean isDirty()
           
 boolean isHighestSalience(RuleAgendaItem nextRule, int currentSalience)
           
 RuleTerminalNodeLeftTuple removeFirstLeftTuple()
           
 void removeLeftTuple(LeftTuple leftTuple)
           
 void removeQueuedLeftTuple(LeftTuple leftTuple)
           
 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
 

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)

removeFirstLeftTuple

public RuleTerminalNodeLeftTuple removeFirstLeftTuple()

getRuleAgendaItem

public RuleAgendaItem getRuleAgendaItem()

isHighestSalience

public boolean isHighestSalience(RuleAgendaItem nextRule,
                                 int currentSalience)

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)

isDirty

public boolean isDirty()

setDirty

public void setDirty(boolean dirty)

isDeclarativeAgendaEnabled

public boolean isDeclarativeAgendaEnabled()

Drools :: Core 6.0.0.Beta3

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