org.quartz.jobs
Class NoOpJob
java.lang.Object
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 TriggerListener
s
and JobListener
s
, rather than writing
Jobs that perform work.
- Author:
- James House
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpJob
public NoOpJob()
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-2019, Terracotta, Inc.