Drools :: Core 6.0.0.Beta2

org.drools.core.phreak
Class RuleNetworkEvaluatorActivation

java.lang.Object
  extended by org.drools.core.common.AgendaItem
      extended by org.drools.core.phreak.RuleNetworkEvaluatorActivation
All Implemented Interfaces:
Externalizable, Serializable, Activation, Queueable, org.kie.api.runtime.rule.Match

public class RuleNetworkEvaluatorActivation
extends AgendaItem

See Also:
Serialized Form

Constructor Summary
RuleNetworkEvaluatorActivation()
           
RuleNetworkEvaluatorActivation(long activationNumber, LeftTuple tuple, int salience, PropagationContext context, PathMemory rmem, TerminalNode rtn, boolean declarativeAgendaEnabled)
           
 
Method Summary
 int evaluateNetwork(InternalWorkingMemory wm, int fireCount, int fireLimit)
           
 LeftTupleList getLeftTupleList()
           
 boolean isDeclarativeAgendaEnabled()
           
 boolean isDirty()
           
 boolean isHighestSalience(RuleNetworkEvaluatorActivation nextRule, int currentSalience)
           
 boolean isRuleNetworkEvaluatorActivation()
           
 void setDirty(boolean dirty)
           
 
Methods inherited from class org.drools.core.common.AgendaItem
addBlocked, addLogicalDependency, cancel, dequeue, enqueued, equals, getActivationGroupNode, getActivationNode, getActivationNumber, getActivationUnMatchListener, getAgendaGroup, getBlocked, getBlockers, getConsequence, getDeclarationIds, getDeclarationValue, getFactHandle, getFactHandles, getIndex, getLogicalDependencies, getObjects, getPropagationContext, getRule, getRuleNetworkEvaluatorActivation, getSalience, getSequenence, getSubRule, getTerminalNode, getTuple, hashCode, isActivated, isActive, isCanceled, isMatched, readExternal, remove, removeAllBlockersAndBlocked, removeBlocked, setActivated, setActivationGroupNode, setActivationNode, setActivationUnMatchListener, setAgendaGroup, setBlocked, setFactHandle, setLogicalDependencies, setMatched, setPropagationContext, setSalience, setSequenence, toExternalForm, toString, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleNetworkEvaluatorActivation

public RuleNetworkEvaluatorActivation()

RuleNetworkEvaluatorActivation

public RuleNetworkEvaluatorActivation(long activationNumber,
                                      LeftTuple tuple,
                                      int salience,
                                      PropagationContext context,
                                      PathMemory rmem,
                                      TerminalNode rtn,
                                      boolean declarativeAgendaEnabled)
Method Detail

isDirty

public boolean isDirty()

setDirty

public void setDirty(boolean dirty)

isDeclarativeAgendaEnabled

public boolean isDeclarativeAgendaEnabled()

evaluateNetwork

public int evaluateNetwork(InternalWorkingMemory wm,
                           int fireCount,
                           int fireLimit)

isHighestSalience

public boolean isHighestSalience(RuleNetworkEvaluatorActivation nextRule,
                                 int currentSalience)

isRuleNetworkEvaluatorActivation

public boolean isRuleNetworkEvaluatorActivation()
Specified by:
isRuleNetworkEvaluatorActivation in interface Activation
Overrides:
isRuleNetworkEvaluatorActivation in class AgendaItem

getLeftTupleList

public LeftTupleList getLeftTupleList()

Drools :: Core 6.0.0.Beta2

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