uws.job.timerTask
Class DestructionTimerTask

java.lang.Object
  extended by uws.job.timerTask.DestructionTimerTask
All Implemented Interfaces:
java.io.Serializable, JobTimerTask

public final class DestructionTimerTask
extends java.lang.Object
implements JobTimerTask

Task that the destruction timer of a job must trigger: only call the JobList.destroyJob(String) method.

Version:
12/2010
Author:
Grégory Mantelet (CDS)
See Also:
AbstractJob.setTaskDestruction(JobTimerTask), AbstractJob.setDestructionTime(java.util.Date), Serialized Form

Field Summary
protected  AbstractJob job
           
protected  JobList<? extends AbstractJob> jobList
           
 
Constructor Summary
DestructionTimerTask(JobList<? extends AbstractJob> jl, AbstractJob j)
           
 
Method Summary
 void run()
          The task that the timer must execute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobList

protected final JobList<? extends AbstractJob> jobList

job

protected final AbstractJob job
Constructor Detail

DestructionTimerTask

public DestructionTimerTask(JobList<? extends AbstractJob> jl,
                            AbstractJob j)
Method Detail

run

public void run()
Description copied from interface: JobTimerTask
The task that the timer must execute.

Specified by:
run in interface JobTimerTask