Drools :: Core 6.1.0.Beta1

org.drools.core.beliefsystem.simple
Class BeliefSystemLogicalCallback

java.lang.Object
  extended by org.drools.core.beliefsystem.simple.BeliefSystemLogicalCallback
All Implemented Interfaces:
Externalizable, Serializable, WorkingMemoryAction

public class BeliefSystemLogicalCallback
extends Object
implements WorkingMemoryAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.drools.core.common.WorkingMemoryAction
DeactivateCallback, LogicalRetractCallback, PropagateAction, SignalAction, SignalProcessInstanceAction, WorkingMemoryBehahviourRetract, WorkingMemoryReteAssertAction, WorkingMemoryReteExpireAction
 
Constructor Summary
BeliefSystemLogicalCallback()
           
BeliefSystemLogicalCallback(InternalFactHandle handle, PropagationContext context, Activation activation, boolean update, boolean fullyRetract)
           
BeliefSystemLogicalCallback(MarshallerReaderContext context)
           
BeliefSystemLogicalCallback(MarshallerReaderContext context, ProtobufMessages.ActionQueue.Action _action)
           
 
Method Summary
 void execute(InternalKnowledgeRuntime kruntime)
           
 void execute(InternalWorkingMemory workingMemory)
           
 boolean isFullyRetract()
           
 boolean isUpdate()
           
 void readExternal(ObjectInput in)
           
 ProtobufMessages.ActionQueue.Action serialize(MarshallerWriteContext context)
           
 void setFullyRetract(boolean fullyRetract)
           
 void setUpdate(boolean update)
           
 void write(MarshallerWriteContext context)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

BeliefSystemLogicalCallback

public BeliefSystemLogicalCallback(MarshallerReaderContext context,
                                   ProtobufMessages.ActionQueue.Action _action)
Method Detail

write

public void write(MarshallerWriteContext context)
           throws IOException
Specified by:
write in interface WorkingMemoryAction
Throws:
IOException

serialize

public ProtobufMessages.ActionQueue.Action serialize(MarshallerWriteContext context)
Specified by:
serialize in interface WorkingMemoryAction

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

isUpdate

public boolean isUpdate()

setUpdate

public void setUpdate(boolean update)

isFullyRetract

public boolean isFullyRetract()

setFullyRetract

public void setFullyRetract(boolean fullyRetract)

execute

public void execute(InternalWorkingMemory workingMemory)
Specified by:
execute in interface WorkingMemoryAction

execute

public void execute(InternalKnowledgeRuntime kruntime)
Specified by:
execute in interface WorkingMemoryAction

Drools :: Core 6.1.0.Beta1

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