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 JobContext
jobContext
protected 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 JobContext
getJobContext()
JobHandle
getJobHandle()
InternalWorkingMemory
getWorkingMemory()
void
remove()
void
setJobHandle(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, isNew
-
-
-
-
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:JobContext
This method should only be called by the scheduler- Specified by:
setJobHandle
in interfaceJobContext
-
getJobHandle
public JobHandle getJobHandle()
- Specified by:
getJobHandle
in interfaceJobContext
-
getWorkingMemory
public InternalWorkingMemory getWorkingMemory()
- Specified by:
getWorkingMemory
in interfaceJobContext
-
remove
public void remove()
-
-