Drools :: Core 6.1.0.Beta1

org.drools.core.phreak
Class RuleAgendaItem

java.lang.Object
  extended by org.drools.core.common.AgendaItemImpl
      extended by org.drools.core.phreak.RuleAgendaItem
All Implemented Interfaces:
Serializable, AgendaItem, Activation, Entry<RuleAgendaItem>, LinkedListNode<RuleAgendaItem>, org.kie.api.runtime.rule.Match

public class RuleAgendaItem
extends AgendaItemImpl
implements LinkedListNode<RuleAgendaItem>

See Also:
Serialized Form

Field Summary
 RuleExecutor executor
           
 
Constructor Summary
RuleAgendaItem()
           
RuleAgendaItem(long activationNumber, LeftTuple tuple, int salience, PropagationContext context, PathMemory pmem, TerminalNode rtn, boolean declarativeAgendaEnabled, InternalAgendaGroup agendaGroup)
           
 
Method Summary
 RuleAgendaItem getNext()
           
 RuleAgendaItem getPrevious()
          Returns the previous node
 RuleExecutor getRuleExecutor()
           
 boolean isBlocked()
           
 boolean isInList()
           
 boolean isRuleAgendaItem()
           
 void nullPrevNext()
           
 void setBlocked(boolean blocked)
           
 void setNext(RuleAgendaItem next)
           
 void setPrevious(RuleAgendaItem previous)
          Sets the previous node
 
Methods inherited from class org.drools.core.common.AgendaItemImpl
addBlocked, addLogicalDependency, cancel, dequeue, equals, getActivationGroupNode, getActivationNode, getActivationNumber, getActivationUnMatchListener, getAgendaGroup, getBlocked, getBlockers, getConsequence, getDeclarationIds, getDeclarationValue, getFactHandle, getFactHandles, getLogicalDependencies, getObjects, getPropagationContext, getQueueIndex, getRule, getRuleAgendaItem, getSalience, getSubRule, getTerminalNode, getTuple, hashCode, isActive, isCanceled, isMatched, isQueued, remove, removeAllBlockersAndBlocked, removeBlocked, setActivationGroupNode, setActivationNode, setActivationUnMatchListener, setActive, setBlocked, setFactHandle, setLogicalDependencies, setMatched, setPropagationContext, setQueued, setQueueIndex, setSalience, toExternalForm, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

executor

public RuleExecutor executor
Constructor Detail

RuleAgendaItem

public RuleAgendaItem()

RuleAgendaItem

public RuleAgendaItem(long activationNumber,
                      LeftTuple tuple,
                      int salience,
                      PropagationContext context,
                      PathMemory pmem,
                      TerminalNode rtn,
                      boolean declarativeAgendaEnabled,
                      InternalAgendaGroup agendaGroup)
Method Detail

getRuleExecutor

public RuleExecutor getRuleExecutor()

isRuleAgendaItem

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

getPrevious

public RuleAgendaItem getPrevious()
Description copied from interface: LinkedListNode
Returns the previous node

Specified by:
getPrevious in interface LinkedListNode<RuleAgendaItem>
Returns:
The previous LinkedListNode

setPrevious

public void setPrevious(RuleAgendaItem previous)
Description copied from interface: LinkedListNode
Sets the previous node

Specified by:
setPrevious in interface LinkedListNode<RuleAgendaItem>
Parameters:
previous - The previous LinkedListNode

getNext

public RuleAgendaItem getNext()
Specified by:
getNext in interface Entry<RuleAgendaItem>

setNext

public void setNext(RuleAgendaItem next)
Specified by:
setNext in interface Entry<RuleAgendaItem>

isInList

public boolean isInList()

isBlocked

public boolean isBlocked()

setBlocked

public void setBlocked(boolean blocked)

nullPrevNext

public void nullPrevNext()
Specified by:
nullPrevNext in interface LinkedListNode<RuleAgendaItem>

Drools :: Core 6.1.0.Beta1

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