Package org.drools.core.time
Class SelfRemovalJobContext
- java.lang.Object
-
- org.drools.core.time.SelfRemovalJobContext
-
- All Implemented Interfaces:
Serializable,JobContext
- Direct Known Subclasses:
EnqueuedSelfRemovalJobContext
public class SelfRemovalJobContext extends Object implements JobContext
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JobContextjobContextprotected Map<Long,TimerJobInstance>timerInstances
-
Constructor Summary
Constructors Constructor Description SelfRemovalJobContext(JobContext jobContext, Map<Long,TimerJobInstance> timerInstances)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobContextgetJobContext()JobHandlegetJobHandle()InternalWorkingMemorygetWorkingMemory()voidremove()voidsetJobHandle(JobHandle jobHandle)This method should only be called by the scheduler-
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
-
jobContext
protected final JobContext jobContext
-
timerInstances
protected final Map<Long,TimerJobInstance> timerInstances
-
-
Constructor Detail
-
SelfRemovalJobContext
public SelfRemovalJobContext(JobContext jobContext, Map<Long,TimerJobInstance> timerInstances)
-
-
Method Detail
-
getJobContext
public JobContext getJobContext()
-
setJobHandle
public void setJobHandle(JobHandle jobHandle)
Description copied from interface:JobContextThis method should only be called by the scheduler- Specified by:
setJobHandlein interfaceJobContext
-
getJobHandle
public JobHandle getJobHandle()
- Specified by:
getJobHandlein interfaceJobContext
-
getWorkingMemory
public InternalWorkingMemory getWorkingMemory()
- Specified by:
getWorkingMemoryin interfaceJobContext
-
remove
public void remove()
-
-