RunOnceSchedulableJob

public final class RunOnceSchedulableJob extends SchedulableJob

Run Once Schedulable Job - a data carrier class for a job scheduled in the future that can be fired only once

This class is immutable

User: Igor (iopushnyev@2paths.com) Date: 16/02/11 Time: 1:43 PM

Constructors

RunOnceSchedulableJob

public RunOnceSchedulableJob()

RunOnceSchedulableJob

public RunOnceSchedulableJob(MotechEvent motechEvent, DateTime startDate)

Constructor

Parameters:
  • motechEvent
    • event data message that will be send by Motech Scheduler when this job is fired
  • startDate
    • date and time when the job fill be fired

RunOnceSchedulableJob

public RunOnceSchedulableJob(MotechEvent motechEvent, DateTime startDate, boolean uiDefined)

Constructor

Parameters:
  • motechEvent
    • event data message that will be send by Motech Scheduler when this job is fired
  • startDate
    • date and time when the job fill be fired
  • uiDefined – the flag defining, whether job has been created through the UI

Methods

equals

public boolean equals(Object o)

hashCode

public int hashCode()

toString

public String toString()