org.quartz.jobs
Class NoOpJob

java.lang.Object
  extended by org.quartz.jobs.NoOpJob
All Implemented Interfaces:
Job

public class NoOpJob
extends Object
implements Job

An implementation of Job, that does absolutely nothing - useful for system which only wish to use TriggerListeners and JobListeners, rather than writing Jobs that perform work.

Author:
James House

Constructor Summary
NoOpJob()
           
 
Method Summary
 void execute(JobExecutionContext context)
           Do nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpJob

public NoOpJob()
Method Detail

execute

public void execute(JobExecutionContext context)
             throws JobExecutionException

Do nothing.

Specified by:
execute in interface Job
Throws:
JobExecutionException - if there is an exception while executing the job.


Copyright 2001-2015, Terracotta, Inc.