|
Drools :: Core 6.0.0.Beta2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.common.AgendaItem
public class AgendaItem
Item entry in the Agenda.
| Constructor Summary | |
|---|---|
AgendaItem()
|
|
AgendaItem(long activationNumber,
LeftTuple tuple,
int salience,
PropagationContext context,
TerminalNode rtn,
RuleNetworkEvaluatorActivation ruleNetworkEvaluatorActivation)
Construct. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AgendaItem()
public AgendaItem(long activationNumber,
LeftTuple tuple,
int salience,
PropagationContext context,
TerminalNode rtn,
RuleNetworkEvaluatorActivation ruleNetworkEvaluatorActivation)
tuple - The tuple.ruleNetworkEvaluatorActivation - | Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic PropagationContext getPropagationContext()
ActivationPropagationContext for the Activation
getPropagationContext in interface ActivationgetPropagationContext in interface org.kie.api.runtime.rule.Matchpublic void setPropagationContext(PropagationContext context)
public Rule getRule()
getRule in interface ActivationgetRule in interface org.kie.api.runtime.rule.Matchpublic Consequence getConsequence()
getConsequence in interface Activationpublic LeftTuple getTuple()
getTuple in interface Activationpublic int getSalience()
getSalience in interface Activationpublic void setSalience(int salience)
public int getSequenence()
public void setSequenence(int sequenence)
public InternalFactHandle getFactHandle()
getFactHandle in interface Activationpublic void setFactHandle(InternalFactHandle factHandle)
public RuleNetworkEvaluatorActivation getRuleNetworkEvaluatorActivation()
public long getActivationNumber()
Activation
getActivationNumber in interface Activationpublic void addBlocked(LogicalDependency dep)
addBlocked in interface Activationpublic void removeAllBlockersAndBlocked(DefaultAgenda agenda)
public void removeBlocked(LogicalDependency dep)
public void setBlocked(LinkedList<LogicalDependency> justified)
setBlocked in interface Activationpublic LinkedList<LogicalDependency> getBlocked()
getBlocked in interface Activationpublic LinkedList<LinkedListEntry<LogicalDependency>> getBlockers()
getBlockers in interface Activationpublic void addLogicalDependency(LogicalDependency node)
addLogicalDependency in interface Activationpublic LinkedList<LogicalDependency> getLogicalDependencies()
getLogicalDependencies in interface Activationpublic void setLogicalDependencies(LinkedList<LogicalDependency> justified)
setLogicalDependencies in interface Activationpublic boolean isActivated()
isActivated in interface Activationpublic void setActivated(boolean activated)
setActivated in interface Activationpublic String toString()
toString in class Objectpublic boolean equals(Object object)
equals in class Objectpublic int hashCode()
TupleKey as the hashCode of the AgendaItem
- Overrides:
hashCode in class Object
- Returns:
public void enqueued(int index)
enqueued in interface Queueablepublic void dequeue()
dequeue in interface Queueablepublic int getIndex()
public void remove()
ActivationActivation by removing it from the Agenda.
remove in interface Activationpublic ActivationGroupNode getActivationGroupNode()
getActivationGroupNode in interface Activationpublic void setActivationGroupNode(ActivationGroupNode activationNode)
setActivationGroupNode in interface Activationpublic AgendaGroup getAgendaGroup()
getAgendaGroup in interface Activationpublic void setAgendaGroup(InternalAgendaGroup agendaGroup)
public ActivationNode getActivationNode()
getActivationNode in interface Activationpublic void setActivationNode(ActivationNode activationNode)
setActivationNode in interface Activationpublic GroupElement getSubRule()
Activation
getSubRule in interface Activationpublic TerminalNode getTerminalNode()
public org.kie.internal.event.rule.ActivationUnMatchListener getActivationUnMatchListener()
public void setActivationUnMatchListener(org.kie.internal.event.rule.ActivationUnMatchListener activationUnMatchListener)
public List<FactHandle> getFactHandles()
getFactHandles in interface org.kie.api.runtime.rule.Matchpublic String toExternalForm()
public List<Object> getObjects()
getObjects in interface org.kie.api.runtime.rule.Matchpublic Object getDeclarationValue(String variableName)
getDeclarationValue in interface org.kie.api.runtime.rule.Matchpublic List<String> getDeclarationIds()
getDeclarationIds in interface org.kie.api.runtime.rule.Matchpublic boolean isActive()
isActive in interface org.kie.api.runtime.rule.Matchpublic boolean isCanceled()
public void cancel()
public boolean isMatched()
isMatched in interface Activationpublic void setMatched(boolean matched)
setMatched in interface Activationpublic boolean isRuleNetworkEvaluatorActivation()
isRuleNetworkEvaluatorActivation in interface Activation
|
Drools :: Core 6.0.0.Beta2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||