Package org.drools.core.rule
Class SlidingTimeWindow.BehaviorJobContext
- java.lang.Object
-
- org.drools.core.rule.SlidingTimeWindow.BehaviorJobContext
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,JobContext
- Enclosing class:
- SlidingTimeWindow
public static class SlidingTimeWindow.BehaviorJobContext extends java.lang.Object implements JobContext, java.io.Externalizable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description BehaviorRuntime
behavior
BehaviorContext
behaviorContext
int
nodeId
ReteEvaluator
reteEvaluator
-
Constructor Summary
Constructors Constructor Description BehaviorJobContext()
Do not use this constructor!BehaviorJobContext(int nodeId, ReteEvaluator reteEvaluator, BehaviorRuntime behavior, BehaviorContext behaviorContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.drools.base.time.JobHandle
getJobHandle()
ReteEvaluator
getReteEvaluator()
void
readExternal(java.io.ObjectInput in)
void
setJobHandle(org.drools.base.time.JobHandle jobHandle)
This method should only be called by the schedulervoid
writeExternal(java.io.ObjectOutput out)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.core.time.JobContext
getInternalKnowledgeRuntime
-
-
-
-
Field Detail
-
reteEvaluator
public ReteEvaluator reteEvaluator
-
nodeId
public int nodeId
-
behavior
public BehaviorRuntime behavior
-
behaviorContext
public BehaviorContext behaviorContext
-
-
Constructor Detail
-
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 Detail
-
getJobHandle
public org.drools.base.time.JobHandle getJobHandle()
- Specified by:
getJobHandle
in interfaceJobContext
-
setJobHandle
public void setJobHandle(org.drools.base.time.JobHandle jobHandle)
Description copied from interface:JobContext
This method should only be called by the scheduler- Specified by:
setJobHandle
in interfaceJobContext
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
readExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
- Specified by:
writeExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
-
getReteEvaluator
public ReteEvaluator getReteEvaluator()
- Specified by:
getReteEvaluator
in interfaceJobContext
-
-