SchedulableJob¶
-
public abstract class
SchedulableJob
implements Serializable¶ Represents Job that can be scheduled
Constructors¶
SchedulableJob¶
-
protected
SchedulableJob
(MotechEvent motechEvent, DateTime startDate, boolean uiDefined, boolean ignorePastFiresAtStart)¶
Methods¶
equals¶
-
protected boolean
equals
(SchedulableJob other)¶
getMotechEvent¶
-
public MotechEvent
getMotechEvent
()¶
setIgnorePastFiresAtStart¶
-
public void
setIgnorePastFiresAtStart
(boolean ignorePastFiresAtStart)¶ Ignore past fires when start time of job is in past.
ex : repeating job with interval of 5 unit, and current time in between fire 2 and 3 will start triggering from 3rd firetime. 1 2 3 4 +-----+-----+-----+ start ^current time
Parameters: - ignorePastFiresAtStart – ignore past fires when start time of job is in past
setMotechEvent¶
-
public void
setMotechEvent
(MotechEvent motechEvent)¶