| Package | Description |
|---|---|
| com.helger.quartz |
The main package of Quartz, containing the client-side interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
static CronScheduleBuilder |
CronScheduleBuilder.atHourAndMinuteOnGivenDaysOfWeek(int hour,
int minute,
DayOfWeek... daysOfWeek)
Create a CronScheduleBuilder with a cron-expression that sets the schedule
to fire at the given day at the given time (hour and minute) on the given
days of the week.
|
static CronScheduleBuilder |
CronScheduleBuilder.cronSchedule(CronExpression cronExpression)
Create a CronScheduleBuilder with the given cron-expression.
|
static CronScheduleBuilder |
CronScheduleBuilder.cronSchedule(String cronExpression)
Create a CronScheduleBuilder with the given cron-expression string - which
is presumed to b e valid cron expression (and hence only a RuntimeException
will be thrown if it is not).
|
static CronScheduleBuilder |
CronScheduleBuilder.cronScheduleNonvalidatedExpression(String cronExpression)
Create a CronScheduleBuilder with the given cron-expression string - which
may not be a valid cron expression (and hence a ParseException will be
thrown if it is not).
|
static CronScheduleBuilder |
CronScheduleBuilder.dailyAtHourAndMinute(int hour,
int minute)
Create a CronScheduleBuilder with a cron-expression that sets the schedule
to fire every day at the given time (hour and minute).
|
CronScheduleBuilder |
CronScheduleBuilder.inTimeZone(TimeZone timezone)
The
TimeZone in which to base the schedule. |
static CronScheduleBuilder |
CronScheduleBuilder.monthlyOnDayAndHourAndMinute(int dayOfMonth,
int hour,
int minute)
Create a CronScheduleBuilder with a cron-expression that sets the schedule
to fire one per month on the given day of month at the given time (hour and
minute).
|
static CronScheduleBuilder |
CronScheduleBuilder.weeklyOnDayAndHourAndMinute(DayOfWeek dayOfWeek,
int hour,
int minute)
Create a CronScheduleBuilder with a cron-expression that sets the schedule
to fire one per week on the given day at the given time (hour and minute).
|
CronScheduleBuilder |
CronScheduleBuilder.withMisfireHandlingInstructionDoNothing()
If the Trigger misfires, use the
ITrigger.EMisfireInstruction.MISFIRE_INSTRUCTION_DO_NOTHING instruction. |
CronScheduleBuilder |
CronScheduleBuilder.withMisfireHandlingInstructionFireAndProceed()
If the Trigger misfires, use the
ITrigger.EMisfireInstruction.MISFIRE_INSTRUCTION_FIRE_ONCE_NOW instruction. |
CronScheduleBuilder |
CronScheduleBuilder.withMisfireHandlingInstructionIgnoreMisfires()
If the Trigger misfires, use the
ITrigger.EMisfireInstruction.MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY
instruction. |
Copyright © 2016–2021 Philip Helger. All rights reserved.