Drools :: Core 6.0.0.Beta5

org.drools.core.common
Class TruthMaintenanceSystem.LogicalCallback

java.lang.Object
  extended by org.drools.core.common.TruthMaintenanceSystem.LogicalCallback
All Implemented Interfaces:
Externalizable, Serializable, WorkingMemoryAction
Enclosing class:
TruthMaintenanceSystem

public static class TruthMaintenanceSystem.LogicalCallback
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
TruthMaintenanceSystem.LogicalCallback()
           
TruthMaintenanceSystem.LogicalCallback(InternalFactHandle handle, PropagationContext context, Activation activation, boolean update, boolean fullyRetract)
           
TruthMaintenanceSystem.LogicalCallback(MarshallerReaderContext context)
           
TruthMaintenanceSystem.LogicalCallback(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

TruthMaintenanceSystem.LogicalCallback

public TruthMaintenanceSystem.LogicalCallback()

TruthMaintenanceSystem.LogicalCallback

public TruthMaintenanceSystem.LogicalCallback(InternalFactHandle handle,
                                              PropagationContext context,
                                              Activation activation,
                                              boolean update,
                                              boolean fullyRetract)

TruthMaintenanceSystem.LogicalCallback

public TruthMaintenanceSystem.LogicalCallback(MarshallerReaderContext context)
                                       throws IOException
Throws:
IOException

TruthMaintenanceSystem.LogicalCallback

public TruthMaintenanceSystem.LogicalCallback(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.0.0.Beta5

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