public class BeliefSystemLogicalCallback extends Object implements WorkingMemoryAction
DeactivateCallback, LogicalRetractCallback, PropagateAction, SignalAction, SignalProcessInstanceAction, WorkingMemoryBehahviourRetract, WorkingMemoryReteAssertAction, WorkingMemoryReteExpireAction
Constructor and Description |
---|
BeliefSystemLogicalCallback() |
BeliefSystemLogicalCallback(InternalFactHandle handle,
PropagationContext context,
Activation activation,
boolean update,
boolean fullyRetract) |
BeliefSystemLogicalCallback(MarshallerReaderContext context) |
BeliefSystemLogicalCallback(MarshallerReaderContext context,
ProtobufMessages.ActionQueue.Action _action) |
Modifier and Type | Method and Description |
---|---|
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) |
public BeliefSystemLogicalCallback()
public BeliefSystemLogicalCallback(InternalFactHandle handle, PropagationContext context, Activation activation, boolean update, boolean fullyRetract)
public BeliefSystemLogicalCallback(MarshallerReaderContext context) throws IOException
IOException
public BeliefSystemLogicalCallback(MarshallerReaderContext context, ProtobufMessages.ActionQueue.Action _action)
public void write(MarshallerWriteContext context) throws IOException
write
in interface WorkingMemoryAction
IOException
public ProtobufMessages.ActionQueue.Action serialize(MarshallerWriteContext context)
serialize
in interface WorkingMemoryAction
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public boolean isUpdate()
public void setUpdate(boolean update)
public boolean isFullyRetract()
public void setFullyRetract(boolean fullyRetract)
public void execute(InternalWorkingMemory workingMemory)
execute
in interface WorkingMemoryAction
public void execute(InternalKnowledgeRuntime kruntime)
execute
in interface WorkingMemoryAction
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.