public class RuleAgendaItem extends AgendaItemImpl implements LinkedListNode<RuleAgendaItem>
Modifier and Type | Field and Description |
---|---|
RuleExecutor |
executor |
Constructor and Description |
---|
RuleAgendaItem() |
RuleAgendaItem(long activationNumber,
LeftTuple tuple,
int salience,
PropagationContext context,
PathMemory pmem,
TerminalNode rtn,
boolean declarativeAgendaEnabled,
InternalAgendaGroup agendaGroup) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
RuleAgendaItem |
getNext() |
RuleAgendaItem |
getPrevious()
Returns the previous node
|
RuleExecutor |
getRuleExecutor() |
int |
hashCode()
Return the hashCode of the
TupleKey |
boolean |
isBlocked() |
boolean |
isInList() |
boolean |
isRuleAgendaItem() |
void |
nullPrevNext() |
void |
setBlocked(boolean blocked) |
void |
setNext(RuleAgendaItem next) |
void |
setPrevious(RuleAgendaItem previous)
Sets the previous node
|
addBlocked, addLogicalDependency, cancel, dequeue, getActivationGroupNode, getActivationNode, getActivationNumber, getActivationUnMatchListener, getAgendaGroup, getBlocked, getBlockers, getConsequence, getDeclarationIds, getDeclarationValue, getFactHandle, getFactHandles, getLogicalDependencies, getObjects, getPropagationContext, getQueueIndex, getRule, getRuleAgendaItem, getSalience, getSubRule, getTerminalNode, getTuple, isActive, isCanceled, isMatched, isQueued, remove, removeAllBlockersAndBlocked, removeBlocked, setActivationGroupNode, setActivationNode, setActivationUnMatchListener, setActive, setBlocked, setFactHandle, setLogicalDependencies, setMatched, setPropagationContext, setQueued, setQueueIndex, setSalience, toExternalForm, toString
public RuleExecutor executor
public RuleAgendaItem()
public RuleAgendaItem(long activationNumber, LeftTuple tuple, int salience, PropagationContext context, PathMemory pmem, TerminalNode rtn, boolean declarativeAgendaEnabled, InternalAgendaGroup agendaGroup)
public RuleExecutor getRuleExecutor()
public boolean isRuleAgendaItem()
isRuleAgendaItem
in interface AgendaItem
isRuleAgendaItem
in interface Activation
isRuleAgendaItem
in class AgendaItemImpl
public RuleAgendaItem getPrevious()
LinkedListNode
getPrevious
in interface LinkedListNode<RuleAgendaItem>
public void setPrevious(RuleAgendaItem previous)
LinkedListNode
setPrevious
in interface LinkedListNode<RuleAgendaItem>
previous
- The previous LinkedListNodepublic RuleAgendaItem getNext()
getNext
in interface Entry<RuleAgendaItem>
public void setNext(RuleAgendaItem next)
setNext
in interface Entry<RuleAgendaItem>
public boolean isInList()
public boolean isBlocked()
public void setBlocked(boolean blocked)
public void nullPrevNext()
nullPrevNext
in interface LinkedListNode<RuleAgendaItem>
public boolean equals(Object object)
equals
in interface AgendaItem
equals
in class AgendaItemImpl
public int hashCode()
TupleKey as the hashCode of the AgendaItem
hashCode
in interface AgendaItem
hashCode
in class AgendaItemImpl
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.