RepeatingPeriodSchedulableJob¶
-
public class
RepeatingPeriodSchedulableJob
extends MisfireSchedulableJob¶ Job that will be fired every
org.joda.time.Period
of time
Constructors¶
RepeatingPeriodSchedulableJob¶
-
public
RepeatingPeriodSchedulableJob
(MotechEvent motechEvent, DateTime startTime, DateTime endTime, Period repeatPeriod, boolean ignorePastFiresAtStart)¶ Constructor.
Parameters: - motechEvent – the
MotechEvent
which will be fired when the job triggers, not null - startTime – the
Date
at which job should become ACTIVE, not null - endTime – the
Date
at which job should be stopped, null treated as never end - repeatPeriod – the
Period
between job fires, not null - ignorePastFiresAtStart – the flag defining whether job should ignore past fires at start or not
- motechEvent – the
RepeatingPeriodSchedulableJob¶
-
public
RepeatingPeriodSchedulableJob
(MotechEvent motechEvent, DateTime startTime, DateTime endTime, Period repeatPeriod, boolean ignorePastFiresAtStart, boolean useOriginalFireTimeAfterMisfire, boolean uiDefined)¶ Constructor.
Parameters: - motechEvent – the
MotechEvent
which will be fired when the job triggers, not null - startTime – the
DateTime
at which job should become ACTIVE, not null - endTime – the
DateTime
at which job should be stopped, null treated as never end - repeatPeriod – the
Period
between job fires, not null - ignorePastFiresAtStart – the flag defining whether job should ignore past fires at start or not
- motechEvent – the