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 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 RuleImpl getRuleOrigin()
public TerminalNode getTerminalNodeOrigin()
public org.kie.api.definition.rule.Rule getRule()
getRule
in interface org.kie.api.runtime.rule.PropagationContext
public LeftTuple getLeftTupleOrigin()
public InternalFactHandle getFactHandleOrigin()
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 void releaseResources()
public EntryPointId getEntryPoint()
public void setEntryPoint(EntryPointId entryPoint)
entryPoint
- the entryPoint to setpublic void setFactHandle(InternalFactHandle factHandle)
public int getOriginOffset()
PropagationContext
public void setOriginOffset(int originOffset)
PropagationContext
originOffset
- -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–2016 JBoss by Red Hat. All rights reserved.