public class PhreakPropagationContext extends Object implements PropagationContext
PropagationContext.Type
Constructor and Description |
---|
PhreakPropagationContext() |
PhreakPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle) |
PhreakPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PhreakPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle,
EntryPointId entryPoint,
BitMask modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PhreakPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
public PhreakPropagationContext()
public PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle)
public PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint)
public PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, MarshallerReaderContext readerContext)
public PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, BitMask modificationMask, Class<?> modifiedClass, 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 PropagationContext
public void cleanReaderContext()
cleanReaderContext
in interface PropagationContext
public RuleImpl getRuleOrigin()
getRuleOrigin
in interface PropagationContext
public TerminalNode getTerminalNodeOrigin()
getTerminalNodeOrigin
in interface PropagationContext
public InternalFactHandle getFactHandle()
getFactHandle
in interface PropagationContext
public void setFactHandle(InternalFactHandle factHandle)
setFactHandle
in interface PropagationContext
public PropagationContext.Type getType()
getType
in interface PropagationContext
public EntryPointId getEntryPoint()
getEntryPoint
in interface PropagationContext
public void setEntryPoint(EntryPointId entryPoint)
setEntryPoint
in interface PropagationContext
entryPoint
- the entryPoint to setpublic int getOriginOffset()
PropagationContext
getOriginOffset
in interface PropagationContext
public void setOriginOffset(int originOffset)
PropagationContext
setOriginOffset
in interface PropagationContext
originOffset
- -1 to unset or from 0 to tuple length-1public BitMask getModificationMask()
getModificationMask
in interface PropagationContext
public void setModificationMask(BitMask modificationMask)
setModificationMask
in interface PropagationContext
public PropagationContext adaptModificationMaskForObjectType(ObjectType type, InternalWorkingMemory workingMemory)
adaptModificationMaskForObjectType
in interface PropagationContext
public MarshallerReaderContext getReaderContext()
getReaderContext
in interface PropagationContext
public boolean isMarshalling()
isMarshalling
in interface PropagationContext
public void setMarshalling(boolean marshalling)
setMarshalling
in interface PropagationContext
public static String intEnumToString(PropagationContext pctx)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.