public class RetePropagationContext extends Object implements org.drools.core.spi.PropagationContext
| Constructor and Description |
|---|
RetePropagationContext() |
RetePropagationContext(long number,
org.drools.core.spi.PropagationContext.Type type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle) |
RetePropagationContext(long number,
org.drools.core.spi.PropagationContext.Type type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle,
org.drools.core.rule.EntryPointId entryPoint) |
RetePropagationContext(long number,
org.drools.core.spi.PropagationContext.Type type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle,
org.drools.core.rule.EntryPointId entryPoint,
org.drools.core.util.bitmask.BitMask modificationMask,
Class<?> modifiedClass,
org.drools.core.marshalling.impl.MarshallerReaderContext readerContext) |
RetePropagationContext(long number,
org.drools.core.spi.PropagationContext.Type type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle,
org.drools.core.rule.EntryPointId entryPoint,
org.drools.core.marshalling.impl.MarshallerReaderContext readerContext) |
RetePropagationContext(long number,
org.drools.core.spi.PropagationContext.Type type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
org.drools.core.rule.EntryPointId entryPoint,
org.drools.core.util.bitmask.BitMask modificationMask) |
| Modifier and Type | Method and Description |
|---|---|
org.drools.core.spi.PropagationContext |
adaptModificationMaskForObjectType(org.drools.core.spi.ObjectType type,
org.drools.core.common.InternalWorkingMemory workingMemory) |
void |
addInsertAction(org.drools.core.common.WorkingMemoryAction action) |
void |
cleanReaderContext() |
RetePropagationContext |
compareTypeAndClone(org.drools.core.spi.PropagationContext.Type expectedType,
org.drools.core.spi.PropagationContext.Type newType) |
void |
evaluateActionQueue(org.drools.core.common.InternalWorkingMemory workingMemory) |
org.drools.core.rule.EntryPointId |
getEntryPoint() |
org.drools.core.common.InternalFactHandle |
getFactHandle() |
org.drools.core.spi.Tuple |
getLeftTupleOrigin() |
org.drools.core.util.bitmask.BitMask |
getModificationMask() |
org.drools.core.spi.ObjectType |
getObjectType() |
int |
getOriginOffset() |
long |
getPropagationNumber() |
LinkedList<org.drools.core.common.WorkingMemoryAction> |
getQueue1() |
LinkedList<org.drools.core.common.WorkingMemoryAction> |
getQueue2() |
org.drools.core.marshalling.impl.MarshallerReaderContext |
getReaderContext() |
org.drools.core.definitions.rule.impl.RuleImpl |
getRuleOrigin() |
org.drools.core.reteoo.TerminalNode |
getTerminalNodeOrigin() |
org.drools.core.spi.PropagationContext.Type |
getType() |
static String |
intEnumToString(org.drools.core.spi.PropagationContext pctx) |
boolean |
isMarshalling() |
void |
readExternal(ObjectInput in) |
void |
releaseResources() |
void |
removeInsertAction(org.drools.core.common.WorkingMemoryAction action) |
void |
setEntryPoint(org.drools.core.rule.EntryPointId entryPoint) |
void |
setFactHandle(org.drools.core.common.InternalFactHandle factHandle) |
void |
setMarshalling(boolean marshalling) |
void |
setModificationMask(org.drools.core.util.bitmask.BitMask modificationMask) |
void |
setObjectType(org.drools.core.spi.ObjectType objectType) |
void |
setOriginOffset(int originOffset) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public RetePropagationContext()
public RetePropagationContext(long number,
org.drools.core.spi.PropagationContext.Type type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle)
public RetePropagationContext(long number,
org.drools.core.spi.PropagationContext.Type type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle,
org.drools.core.rule.EntryPointId entryPoint)
public RetePropagationContext(long number,
org.drools.core.spi.PropagationContext.Type type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
org.drools.core.rule.EntryPointId entryPoint,
org.drools.core.util.bitmask.BitMask modificationMask)
public RetePropagationContext(long number,
org.drools.core.spi.PropagationContext.Type type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle,
org.drools.core.rule.EntryPointId entryPoint,
org.drools.core.marshalling.impl.MarshallerReaderContext readerContext)
public RetePropagationContext(long number,
org.drools.core.spi.PropagationContext.Type type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle,
org.drools.core.rule.EntryPointId entryPoint,
org.drools.core.util.bitmask.BitMask modificationMask,
Class<?> modifiedClass,
org.drools.core.marshalling.impl.MarshallerReaderContext readerContext)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic long getPropagationNumber()
getPropagationNumber in interface org.drools.core.spi.PropagationContextpublic void cleanReaderContext()
cleanReaderContext in interface org.drools.core.spi.PropagationContextpublic org.drools.core.definitions.rule.impl.RuleImpl getRuleOrigin()
getRuleOrigin in interface org.drools.core.spi.PropagationContextpublic org.drools.core.reteoo.TerminalNode getTerminalNodeOrigin()
getTerminalNodeOrigin in interface org.drools.core.spi.PropagationContextpublic org.drools.core.spi.Tuple getLeftTupleOrigin()
getLeftTupleOrigin in interface org.drools.core.spi.PropagationContextpublic org.drools.core.common.InternalFactHandle getFactHandle()
getFactHandle in interface org.drools.core.spi.PropagationContextpublic void setFactHandle(org.drools.core.common.InternalFactHandle factHandle)
setFactHandle in interface org.drools.core.spi.PropagationContextpublic org.drools.core.spi.PropagationContext.Type getType()
getType in interface org.drools.core.spi.PropagationContextpublic RetePropagationContext compareTypeAndClone(org.drools.core.spi.PropagationContext.Type expectedType, org.drools.core.spi.PropagationContext.Type newType)
public void releaseResources()
releaseResources in interface org.drools.core.spi.PropagationContextpublic org.drools.core.rule.EntryPointId getEntryPoint()
getEntryPoint in interface org.drools.core.spi.PropagationContextpublic void setEntryPoint(org.drools.core.rule.EntryPointId entryPoint)
setEntryPoint in interface org.drools.core.spi.PropagationContextentryPoint - the entryPoint to setpublic int getOriginOffset()
getOriginOffset in interface org.drools.core.spi.PropagationContextpublic void setOriginOffset(int originOffset)
setOriginOffset in interface org.drools.core.spi.PropagationContextpublic void addInsertAction(org.drools.core.common.WorkingMemoryAction action)
addInsertAction in interface org.drools.core.spi.PropagationContextpublic void removeInsertAction(org.drools.core.common.WorkingMemoryAction action)
removeInsertAction in interface org.drools.core.spi.PropagationContextpublic LinkedList<org.drools.core.common.WorkingMemoryAction> getQueue1()
getQueue1 in interface org.drools.core.spi.PropagationContextpublic LinkedList<org.drools.core.common.WorkingMemoryAction> getQueue2()
getQueue2 in interface org.drools.core.spi.PropagationContextpublic void evaluateActionQueue(org.drools.core.common.InternalWorkingMemory workingMemory)
evaluateActionQueue in interface org.drools.core.spi.PropagationContextpublic org.drools.core.util.bitmask.BitMask getModificationMask()
getModificationMask in interface org.drools.core.spi.PropagationContextpublic void setModificationMask(org.drools.core.util.bitmask.BitMask modificationMask)
setModificationMask in interface org.drools.core.spi.PropagationContextpublic org.drools.core.spi.PropagationContext adaptModificationMaskForObjectType(org.drools.core.spi.ObjectType type,
org.drools.core.common.InternalWorkingMemory workingMemory)
adaptModificationMaskForObjectType in interface org.drools.core.spi.PropagationContextpublic org.drools.core.spi.ObjectType getObjectType()
public void setObjectType(org.drools.core.spi.ObjectType objectType)
public org.drools.core.marshalling.impl.MarshallerReaderContext getReaderContext()
getReaderContext in interface org.drools.core.spi.PropagationContextpublic boolean isMarshalling()
isMarshalling in interface org.drools.core.spi.PropagationContextpublic void setMarshalling(boolean marshalling)
setMarshalling in interface org.drools.core.spi.PropagationContextpublic static String intEnumToString(org.drools.core.spi.PropagationContext pctx)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.