Drools :: Core 6.0.0.Beta5

org.drools.core.beliefsystem.simple
Class SimpleBeliefSet

java.lang.Object
  extended by org.drools.core.util.LinkedList
      extended by org.drools.core.beliefsystem.simple.SimpleBeliefSet
All Implemented Interfaces:
Externalizable, Serializable, BeliefSet

public class SimpleBeliefSet
extends LinkedList
implements BeliefSet

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.drools.core.util.LinkedList
LinkedList.JavaUtilIterator<T extends LinkedListNode<T>>, LinkedList.LinkedListFastIterator, LinkedList.LinkedListIterator<T extends LinkedListNode<T>>
 
Field Summary
 
Fields inherited from class org.drools.core.util.LinkedList
fastIterator
 
Constructor Summary
SimpleBeliefSet(BeliefSystem beliefSystem, InternalFactHandle fh)
           
 
Method Summary
 void cancel(PropagationContext context)
          This will remove all entries and do clean up, like retract FHs.
 void clear(PropagationContext context)
          This will remove all entries, but not do cleanup, the FH is most likely needed else where
 BeliefSystem getBeliefSystem()
           
 InternalFactHandle getFactHandle()
           
 WorkingMemoryAction getWorkingMemoryAction()
           
 void setWorkingMemoryAction(WorkingMemoryAction wmAction)
           
 
Methods inherited from class org.drools.core.util.LinkedList
add, addLast, clear, equals, fastIterator, get, getFirst, getLast, hashCode, insertAfter, isEmpty, iterator, javaUtilIterator, readExternal, remove, removeFirst, removeLast, size, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.core.beliefsystem.BeliefSet
add, getFirst, isEmpty, remove, size
 

Constructor Detail

SimpleBeliefSet

public SimpleBeliefSet(BeliefSystem beliefSystem,
                       InternalFactHandle fh)
Method Detail

getBeliefSystem

public BeliefSystem getBeliefSystem()
Specified by:
getBeliefSystem in interface BeliefSet

getFactHandle

public InternalFactHandle getFactHandle()
Specified by:
getFactHandle in interface BeliefSet

cancel

public void cancel(PropagationContext context)
Description copied from interface: BeliefSet
This will remove all entries and do clean up, like retract FHs.

Specified by:
cancel in interface BeliefSet

clear

public void clear(PropagationContext context)
Description copied from interface: BeliefSet
This will remove all entries, but not do cleanup, the FH is most likely needed else where

Specified by:
clear in interface BeliefSet

getWorkingMemoryAction

public WorkingMemoryAction getWorkingMemoryAction()

setWorkingMemoryAction

public void setWorkingMemoryAction(WorkingMemoryAction wmAction)
Specified by:
setWorkingMemoryAction in interface BeliefSet

Drools :: Core 6.0.0.Beta5

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