org.drools.time
Class SelfRemovalJobContext

java.lang.Object
  extended by org.drools.time.SelfRemovalJobContext
All Implemented Interfaces:
Serializable, JobContext

public class SelfRemovalJobContext
extends Object
implements JobContext

See Also:
Serialized Form

Constructor Summary
SelfRemovalJobContext(JobContext jobContext, Map<Long,TimerJobInstance> timerInstances)
           
 
Method Summary
 JobContext getJobContext()
           
 JobHandle getJobHandle()
           
 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
 

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 interface JobContext

getJobHandle

public JobHandle getJobHandle()
Specified by:
getJobHandle in interface JobContext

remove

public void remove()


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.