Class NoOpJob

  • All Implemented Interfaces:
    org.quartz.Job

    public class NoOpJob
    extends java.lang.Object
    implements org.quartz.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.

    • Constructor Summary

      Constructors 
      Constructor Description
      NoOpJob()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(org.quartz.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​(org.quartz.JobExecutionContext context)
                     throws org.quartz.JobExecutionException

        Do nothing.

        Specified by:
        execute in interface org.quartz.Job
        Throws:
        org.quartz.JobExecutionException