Class BeliefSystemLogicalCallback
- java.lang.Object
-
- org.drools.core.phreak.PropagationEntry.AbstractPropagationEntry
-
- org.drools.core.beliefsystem.simple.BeliefSystemLogicalCallback
-
- All Implemented Interfaces:
WorkingMemoryAction,PropagationEntry
public class BeliefSystemLogicalCallback extends PropagationEntry.AbstractPropagationEntry implements WorkingMemoryAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.core.phreak.PropagationEntry
PropagationEntry.AbstractPartitionedPropagationEntry, PropagationEntry.AbstractPropagationEntry, PropagationEntry.Delete, PropagationEntry.ExecuteQuery, PropagationEntry.Insert, PropagationEntry.PartitionedDelete, PropagationEntry.PartitionedUpdate, PropagationEntry.PropagationEntryWithResult<T>, PropagationEntry.Update
-
-
Field Summary
Fields Modifier and Type Field Description protected Activationactivationprotected PropagationContextcontextprotected booleanfullyRetractprotected InternalFactHandlehandleprotected booleanupdate-
Fields inherited from interface org.drools.core.common.WorkingMemoryAction
DeactivateCallback, LogicalRetractCallback, PropagateAction, SignalAction, SignalProcessInstanceAction, WorkingMemoryBehahviourRetract, WorkingMemoryReteAssertAction, WorkingMemoryReteExpireAction
-
-
Constructor Summary
Constructors Constructor Description BeliefSystemLogicalCallback()BeliefSystemLogicalCallback(InternalFactHandle handle, PropagationContext context, Activation activation, boolean update, boolean fullyRetract)BeliefSystemLogicalCallback(MarshallerReaderContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(ReteEvaluator reteEvaluator)booleanisFullyRetract()booleanisUpdate()voidsetFullyRetract(boolean fullyRetract)voidsetUpdate(boolean update)-
Methods inherited from class org.drools.core.phreak.PropagationEntry.AbstractPropagationEntry
defersExpiration, getNext, getSplitForPartition, isCalledFromRHS, isPartitionSplittable, requiresImmediateFlushing, setNext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.core.phreak.PropagationEntry
defersExpiration, getNext, getSplitForPartition, isCalledFromRHS, isPartitionSplittable, requiresImmediateFlushing, setNext
-
-
-
-
Field Detail
-
handle
protected InternalFactHandle handle
-
context
protected PropagationContext context
-
activation
protected Activation activation
-
update
protected boolean update
-
fullyRetract
protected boolean fullyRetract
-
-
Constructor Detail
-
BeliefSystemLogicalCallback
public BeliefSystemLogicalCallback()
-
BeliefSystemLogicalCallback
public BeliefSystemLogicalCallback(InternalFactHandle handle, PropagationContext context, Activation activation, boolean update, boolean fullyRetract)
-
BeliefSystemLogicalCallback
public BeliefSystemLogicalCallback(MarshallerReaderContext context) throws IOException
- Throws:
IOException
-
-
Method Detail
-
isUpdate
public boolean isUpdate()
-
setUpdate
public void setUpdate(boolean update)
-
isFullyRetract
public boolean isFullyRetract()
-
setFullyRetract
public void setFullyRetract(boolean fullyRetract)
-
execute
public void execute(ReteEvaluator reteEvaluator)
- Specified by:
executein interfacePropagationEntry
-
-