Interface JobReceiver

All Superinterfaces:
OsidReceiver

public interface JobReceiver extends OsidReceiver

The job receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted Job objects.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedJobs(Id notificationId, IdList jobIds)
    The callback for notification of updated jobs.
    void
    deletedJobs(Id notificationId, IdList jobIds)
    The callback for notification of deleted jobs.
    void
    newJobs(Id notificationId, IdList jobIds)
    The callback for notifications of new jobs.

    Methods inherited from interface OsidReceiver

    down, up
    Modifier and Type
    Method
    Description
    void
    The callback for notifications that the notification bus is not operating.
    void
    up()
    The callback for notifications that the notification bus is operational.
  • Method Details

    • newJobs

      void newJobs(Id notificationId, IdList jobIds)
      The callback for notifications of new jobs.
      Parameters:
      notificationId - the notification Id
      jobIds - the Ids of the new Jobs
      Compliance:
      mandatory - This method must be implemented.
    • changedJobs

      void changedJobs(Id notificationId, IdList jobIds)
      The callback for notification of updated jobs.
      Parameters:
      notificationId - the notification Id
      jobIds - the Ids of the updated Jobs
      Compliance:
      mandatory - This method must be implemented.
    • deletedJobs

      void deletedJobs(Id notificationId, IdList jobIds)
      The callback for notification of deleted jobs.
      Parameters:
      notificationId - the notification Id
      jobIds - the Ids of the deleted Jobs
      Compliance:
      mandatory - This method must be implemented.