public class PhreakPropagationContext extends Object implements PropagationContext
| Constructor and Description |
|---|
PhreakPropagationContext() |
PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle) |
PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
BitMask modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
BitMask modificationMask) |
public PhreakPropagationContext()
public PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle)
public PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint)
public PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
BitMask modificationMask)
public PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext)
public PhreakPropagationContext(long number,
int type,
RuleImpl rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
BitMask modificationMask,
Class<?> modifiedClass,
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.kie.api.runtime.rule.PropagationContextpublic void cleanReaderContext()
public RuleImpl getRuleOrigin()
public TerminalNode getTerminalNodeOrigin()
public org.kie.api.definition.rule.Rule getRule()
getRule in interface org.kie.api.runtime.rule.PropagationContextpublic LeftTuple getLeftTupleOrigin()
public InternalFactHandle getFactHandleOrigin()
public org.kie.api.runtime.rule.FactHandle getFactHandle()
getFactHandle in interface org.kie.api.runtime.rule.PropagationContextpublic void setFactHandle(org.kie.api.runtime.rule.FactHandle factHandle)
public int getType()
getType in interface org.kie.api.runtime.rule.PropagationContextpublic void releaseResources()
public EntryPointId getEntryPoint()
public void setEntryPoint(EntryPointId entryPoint)
entryPoint - the entryPoint to setpublic void setFactHandle(InternalFactHandle factHandle)
public int getOriginOffset()
PropagationContextpublic void setOriginOffset(int originOffset)
PropagationContextoriginOffset - -1 to unset or from 0 to tuple length-1public void addInsertAction(WorkingMemoryAction action)
public void removeInsertAction(WorkingMemoryAction action)
public LinkedList<WorkingMemoryAction> getQueue1()
public LinkedList<WorkingMemoryAction> getQueue2()
public void evaluateActionQueue(InternalWorkingMemory workingMemory)
public BitMask getModificationMask()
public void setModificationMask(BitMask modificationMask)
public PropagationContext adaptModificationMaskForObjectType(ObjectType type, InternalWorkingMemory workingMemory)
public ObjectType getObjectType()
public void setObjectType(ObjectType objectType)
public MarshallerReaderContext getReaderContext()
public static String intEnumToString(PropagationContext pctx)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.