Package org.drools.core.rule
Class SlidingTimeWindow.BehaviorJobContext
java.lang.Object
org.drools.core.rule.SlidingTimeWindow.BehaviorJobContext
- All Implemented Interfaces:
Externalizable,Serializable,JobContext
- Enclosing class:
- SlidingTimeWindow
public static class SlidingTimeWindow.BehaviorJobContext
extends Object
implements JobContext, Externalizable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionint -
Constructor Summary
ConstructorsConstructorDescriptionDo not use this constructor! It should be used just by deserialization.BehaviorJobContext(int nodeId, ReteEvaluator reteEvaluator, BehaviorRuntime behavior, BehaviorContext behaviorContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetJobHandle(JobHandle jobHandle) This method should only be called by the schedulervoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drools.core.time.JobContext
getInternalKnowledgeRuntime
-
Field Details
-
reteEvaluator
-
nodeId
public int nodeId -
behavior
-
behaviorContext
-
-
Constructor Details
-
BehaviorJobContext
public BehaviorJobContext(int nodeId, ReteEvaluator reteEvaluator, BehaviorRuntime behavior, BehaviorContext behaviorContext) -
BehaviorJobContext
public BehaviorJobContext()Do not use this constructor! It should be used just by deserialization.
-
-
Method Details
-
getJobHandle
- Specified by:
getJobHandlein interfaceJobContext
-
setJobHandle
Description copied from interface:JobContextThis method should only be called by the scheduler- Specified by:
setJobHandlein interfaceJobContext
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getReteEvaluator
- Specified by:
getReteEvaluatorin interfaceJobContext
-