Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.quartz
Interface SchedulerListener

All Known Implementing Classes:
  QuartzServer

public interface SchedulerListener

The interface to be implemented by classes that want to be informed of major ``Scheduler`` events.

Author:
  James House
See Also:
  `Scheduler`, `JobListener`, `TriggerListener`

Method Summary
`void` | `jobScheduled(Trigger trigger)` Called by the ``Scheduler`` when a ``JobDetail`` is scheduled.
`void` | `jobsPaused(String jobName, String jobGroup)` Called by the ``Scheduler`` when a ``JobDetail`` or group of ``JobDetail`s` has been paused.
`void` | `jobsResumed(String jobName, String jobGroup)` Called by the ``Scheduler`` when a ``JobDetail`` or group of ``JobDetail`s` has been un-paused.
`void` | `jobUnscheduled(String triggerName, String triggerGroup)` Called by the ``Scheduler`` when a ``JobDetail`` is unscheduled.
`void` | `schedulerError(String msg, SchedulerException cause)` Called by the ``Scheduler`` when a serious error has occured within the scheduler - such as repeated failures in the `JobStore`, or the inability to instantiate a `Job` instance when its `Trigger` has fired.
`void` | `schedulerShutdown()` Called by the ``Scheduler`` to inform the listener that it has shutdown.
`void` | `triggerFinalized(Trigger trigger)` Called by the ``Scheduler`` when a ``Trigger`` has reached the condition in which it will never fire again.
`void` | `triggersPaused(String triggerName, String triggerGroup)` Called by the ``Scheduler`` when a ``Trigger`` or group of ``Trigger`s` has been paused.
`void` | `triggersResumed(String triggerName, String triggerGroup)` Called by the ``Scheduler`` when a ``Trigger`` or group of ``Trigger`s` has been un-paused.

Method Detail

### jobScheduled

    public void jobScheduled(Trigger trigger)

  Called by the ``Scheduler`` when a ``JobDetail`` is scheduled.

### jobUnscheduled

    public void jobUnscheduled(String triggerName,
                               String triggerGroup)

  Called by the ``Scheduler`` when a ``JobDetail`` is unscheduled.

### triggerFinalized

    public void triggerFinalized(Trigger trigger)

  Called by the ``Scheduler`` when a ``Trigger`` has reached the condition in which it will never fire again.

### triggersPaused

    public void triggersPaused(String triggerName,
                               String triggerGroup)

  Called by the ``Scheduler`` when a ``Trigger`` or group of ``Trigger`s` has been paused.

  If a group was paused, then the `triggerName` parameter will be null.

### triggersResumed

    public void triggersResumed(String triggerName,
                                String triggerGroup)

  Called by the ``Scheduler`` when a ``Trigger`` or group of ``Trigger`s` has been un-paused.

  If a group was resumed, then the `triggerName` parameter will be null.

### jobsPaused

    public void jobsPaused(String jobName,
                           String jobGroup)

  Called by the ``Scheduler`` when a ``JobDetail`` or group of ``JobDetail`s` has been paused.

  If a group was paused, then the `jobName` parameter will be null. If all jobs were paused, then both parameters will be null.

### jobsResumed

    public void jobsResumed(String jobName,
                            String jobGroup)

  Called by the ``Scheduler`` when a ``JobDetail`` or group of ``JobDetail`s` has been un-paused.

  If a group was resumed, then the `jobName` parameter will be null. If all jobs were paused, then both parameters will be null.

### schedulerError

    public void schedulerError(String msg,
                               SchedulerException cause)

  Called by the ``Scheduler`` when a serious error has occured within the scheduler - such as repeated failures in the `JobStore`, or the inability to instantiate a `Job` instance when its `Trigger` has fired.

  The `getErrorCode()` method of the given SchedulerException can be used to determine more specific information about the type of error that was encountered.

### schedulerShutdown

    public void schedulerShutdown()

  Called by the ``Scheduler`` to inform the listener that it has shutdown.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Quartz Enterprise Job Scheduler Project Page
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD