public class RetePropagationContext extends Object implements org.drools.core.spi.PropagationContext
Constructor and Description |
---|
RetePropagationContext() |
RetePropagationContext(long number,
int type,
org.drools.core.definitions.rule.impl.RuleImpl rule,
org.drools.core.spi.Tuple leftTuple,
org.drools.core.common.InternalFactHandle factHandle) |
RetePropagationContext(long number,
int 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,
int 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,
int 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,
int 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(int expectedType,
int newType) |
void |
evaluateActionQueue(org.drools.core.common.InternalWorkingMemory workingMemory) |
org.drools.core.rule.EntryPointId |
getEntryPoint() |
org.kie.api.runtime.rule.FactHandle |
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.kie.api.definition.rule.Rule |
getRule() |
org.drools.core.definitions.rule.impl.RuleImpl |
getRuleOrigin() |
org.drools.core.reteoo.TerminalNode |
getTerminalNodeOrigin() |
int |
getType() |
static String |
intEnumToString(org.drools.core.spi.PropagationContext pctx) |
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.kie.api.runtime.rule.FactHandle factHandle) |
void |
setFactHandle(org.drools.core.common.InternalFactHandle factHandle) |
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, int 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, int 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, int 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, int 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, int 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 Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public long getPropagationNumber()
getPropagationNumber
in interface org.kie.api.runtime.rule.PropagationContext
public void cleanReaderContext()
public org.drools.core.definitions.rule.impl.RuleImpl getRuleOrigin()
public org.drools.core.reteoo.TerminalNode getTerminalNodeOrigin()
public org.kie.api.definition.rule.Rule getRule()
getRule
in interface org.kie.api.runtime.rule.PropagationContext
public org.drools.core.spi.Tuple getLeftTupleOrigin()
public org.kie.api.runtime.rule.FactHandle getFactHandle()
getFactHandle
in interface org.kie.api.runtime.rule.PropagationContext
public void setFactHandle(org.kie.api.runtime.rule.FactHandle factHandle)
public int getType()
getType
in interface org.kie.api.runtime.rule.PropagationContext
public RetePropagationContext compareTypeAndClone(int expectedType, int newType)
public void releaseResources()
public org.drools.core.rule.EntryPointId getEntryPoint()
public void setEntryPoint(org.drools.core.rule.EntryPointId entryPoint)
entryPoint
- the entryPoint to setpublic void setFactHandle(org.drools.core.common.InternalFactHandle factHandle)
public int getOriginOffset()
public void setOriginOffset(int originOffset)
public void addInsertAction(org.drools.core.common.WorkingMemoryAction action)
public void removeInsertAction(org.drools.core.common.WorkingMemoryAction action)
public LinkedList<org.drools.core.common.WorkingMemoryAction> getQueue1()
public LinkedList<org.drools.core.common.WorkingMemoryAction> getQueue2()
public void evaluateActionQueue(org.drools.core.common.InternalWorkingMemory workingMemory)
public org.drools.core.util.bitmask.BitMask getModificationMask()
public void setModificationMask(org.drools.core.util.bitmask.BitMask modificationMask)
public org.drools.core.spi.PropagationContext adaptModificationMaskForObjectType(org.drools.core.spi.ObjectType type, org.drools.core.common.InternalWorkingMemory workingMemory)
public org.drools.core.spi.ObjectType getObjectType()
public void setObjectType(org.drools.core.spi.ObjectType objectType)
public org.drools.core.marshalling.impl.MarshallerReaderContext getReaderContext()
public static String intEnumToString(org.drools.core.spi.PropagationContext pctx)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.