Package org.drools.core.common
Class PhreakPropagationContext
java.lang.Object
org.drools.core.common.PhreakPropagationContext
- All Implemented Interfaces:
Externalizable,Serializable,PropagationContext
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.drools.core.common.PropagationContext
PropagationContext.Type -
Constructor Summary
ConstructorsConstructorDescriptionPhreakPropagationContext(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, MarshallerReaderContext readerContext) PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, org.drools.util.bitmask.BitMask modificationMask, Class<?> modifiedClass, MarshallerReaderContext readerContext) -
Method Summary
Modifier and TypeMethodDescriptionadaptModificationMaskForObjectType(ObjectType type, ReteEvaluator reteEvaluator) voidorg.drools.util.bitmask.BitMasklonggetType()static StringvoidvoidsetEntryPoint(EntryPointId entryPoint) voidsetFactHandle(FactHandle factHandle) toString()void
-
Constructor Details
-
PhreakPropagationContext
public PhreakPropagationContext() -
PhreakPropagationContext
public PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle) -
PhreakPropagationContext
public PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint) -
PhreakPropagationContext
public PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, MarshallerReaderContext readerContext) -
PhreakPropagationContext
public PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, org.drools.util.bitmask.BitMask modificationMask, Class<?> modifiedClass, MarshallerReaderContext readerContext)
-
-
Method Details
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getPropagationNumber
public long getPropagationNumber()- Specified by:
getPropagationNumberin interfacePropagationContext
-
cleanReaderContext
public void cleanReaderContext()- Specified by:
cleanReaderContextin interfacePropagationContext
-
getRuleOrigin
- Specified by:
getRuleOriginin interfacePropagationContext
-
getTerminalNodeOrigin
- Specified by:
getTerminalNodeOriginin interfacePropagationContext
-
getFactHandle
- Specified by:
getFactHandlein interfacePropagationContext- Returns:
- fact handle that was inserted, updated or retracted that created the PropagationContext
-
setFactHandle
- Specified by:
setFactHandlein interfacePropagationContext
-
getType
- Specified by:
getTypein interfacePropagationContext
-
getEntryPoint
- Specified by:
getEntryPointin interfacePropagationContext- Returns:
- the entryPoint
-
setEntryPoint
- Specified by:
setEntryPointin interfacePropagationContext- Parameters:
entryPoint- the entryPoint to set
-
getModificationMask
public org.drools.util.bitmask.BitMask getModificationMask()- Specified by:
getModificationMaskin interfacePropagationContext
-
adaptModificationMaskForObjectType
public PropagationContext adaptModificationMaskForObjectType(ObjectType type, ReteEvaluator reteEvaluator) - Specified by:
adaptModificationMaskForObjectTypein interfacePropagationContext
-
getReaderContext
- Specified by:
getReaderContextin interfacePropagationContext
-
intEnumToString
-
toString
-