DayOfWeekSchedulableJob¶
-
public final class
DayOfWeekSchedulableJob
extends EndingSchedulableJob¶ Job that is scheduled on particular days of week
Constructors¶
DayOfWeekSchedulableJob¶
-
public
DayOfWeekSchedulableJob
(MotechEvent motechEvent, DateTime startDate, DateTime endDate, List<DayOfWeek> days, Time time, boolean ignorePastFiresAtStart)¶ Constructor.
Parameters: - motechEvent – the
MotechEvent
fired, when job triggers, not null - startDate – the
Date
at which job should become ACTIVE, not null - endDate – the
Date
at which job should be stopped, null treated as never end - days – the list of days at which job should be fired, not null
- time – the time at which job should be fired, not null
- ignorePastFiresAtStart – the flag defining whether job should ignore past fires at start or not
- motechEvent – the
DayOfWeekSchedulableJob¶
-
public
DayOfWeekSchedulableJob
(MotechEvent motechEvent, DateTime startDate, DateTime endDate, List<DayOfWeek> days, Time time)¶ Constructor.
Parameters: - motechEvent – the
MotechEvent
fired, when job triggers, not null - startDate – the
Date
at which job should become ACTIVE, not null - endDate – the
Date
at which job should be stopped, null treated as never end - days – the list of days at which job should be fired, not null
- time – the time at which job should be fired, not null
- motechEvent – the
DayOfWeekSchedulableJob¶
-
public
DayOfWeekSchedulableJob
(MotechEvent motechEvent, DateTime startDate, DateTime endDate, List<DayOfWeek> days, Time time, boolean ignorePastFiresAtStart, boolean uiDefined)¶ Constructor.
Parameters: - motechEvent – the
MotechEvent
fired, when job triggers, not null - startDate – the
Date
at which job should become ACTIVE, not null - endDate – the
Date
at which job should be stopped, null treated as never end - days – the list of days at which job should be fired, not null
- time – the time at which job should be fired, not null
- ignorePastFiresAtStart – the flag defining whether job should ignore past fires at start or not
- uiDefined – the flag defining, whether job has been created through the UI
- motechEvent – the