public interface PropagationContext extends Externalizable
Modifier and Type | Interface and Description |
---|---|
static class |
PropagationContext.Type |
Modifier and Type | Method and Description |
---|---|
PropagationContext |
adaptModificationMaskForObjectType(ObjectType type,
InternalWorkingMemory workingMemory) |
void |
cleanReaderContext() |
EntryPointId |
getEntryPoint() |
InternalFactHandle |
getFactHandle() |
BitMask |
getModificationMask() |
int |
getOriginOffset()
Returns the offset of the fact that initiated this propagation
in the current propagation context.
|
long |
getPropagationNumber() |
MarshallerReaderContext |
getReaderContext() |
RuleImpl |
getRuleOrigin() |
TerminalNode |
getTerminalNodeOrigin() |
PropagationContext.Type |
getType() |
boolean |
isMarshalling() |
void |
setEntryPoint(EntryPointId entryPoint) |
void |
setFactHandle(InternalFactHandle factHandle) |
void |
setMarshalling(boolean marshalling) |
void |
setModificationMask(BitMask mask) |
void |
setOriginOffset(int offset)
Sets the origin offset to the given offset.
|
readExternal, writeExternal
long getPropagationNumber()
PropagationContext.Type getType()
RuleImpl getRuleOrigin()
TerminalNode getTerminalNodeOrigin()
InternalFactHandle getFactHandle()
void setFactHandle(InternalFactHandle factHandle)
int getOriginOffset()
void setOriginOffset(int offset)
offset
- -1 to unset or from 0 to tuple length-1EntryPointId getEntryPoint()
BitMask getModificationMask()
PropagationContext adaptModificationMaskForObjectType(ObjectType type, InternalWorkingMemory workingMemory)
void setModificationMask(BitMask mask)
MarshallerReaderContext getReaderContext()
void cleanReaderContext()
void setEntryPoint(EntryPointId entryPoint)
boolean isMarshalling()
void setMarshalling(boolean marshalling)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.