public class PhreakPropagationContext extends Object implements PropagationContext
Constructor and Description |
---|
PhreakPropagationContext() |
PhreakPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle) |
PhreakPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PhreakPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
long modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PhreakPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
PhreakPropagationContext(long number,
int type,
Rule rule,
LeftTuple leftTuple,
InternalFactHandle factHandle,
int activeActivations,
int dormantActivations,
EntryPointId entryPoint,
long modificationMask) |
public PhreakPropagationContext()
public PhreakPropagationContext(long number, int type, Rule rule, LeftTuple leftTuple, InternalFactHandle factHandle)
public PhreakPropagationContext(long number, int type, Rule rule, LeftTuple leftTuple, InternalFactHandle factHandle, EntryPointId entryPoint)
public PhreakPropagationContext(long number, int type, Rule rule, LeftTuple leftTuple, InternalFactHandle factHandle, int activeActivations, int dormantActivations, EntryPointId entryPoint, long modificationMask)
public PhreakPropagationContext(long number, int type, Rule rule, LeftTuple leftTuple, InternalFactHandle factHandle, EntryPointId entryPoint, MarshallerReaderContext readerContext)
public PhreakPropagationContext(long number, int type, Rule rule, LeftTuple leftTuple, InternalFactHandle factHandle, EntryPointId entryPoint, long 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 Rule 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 FactHandle getFactHandle()
getFactHandle
in interface org.kie.api.runtime.rule.PropagationContext
public void setFactHandle(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 long getModificationMask()
public void setModificationMask(long 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-2014 JBoss by Red Hat. All Rights Reserved.