Class Schedules
java.lang.Object
com.github.kagkarlsson.scheduler.task.schedule.Schedules
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CronSchedulestatic CronSchedulestatic Dailystatic Dailystatic FixedDelayfixedDelay(Duration delay) static ScheduleparseSchedule(String scheduleString) Currently supports Daily- and FixedDelay-schedule on the formats:
-
Constructor Details
-
Schedules
public Schedules()
-
-
Method Details
-
daily
-
daily
-
fixedDelay
-
cron
-
cron
-
parseSchedule
Currently supports Daily- and FixedDelay-schedule on the formats:DAILY|hh:mm,hh:mm,...,hh:mm(|TIME_ZONE)
FIXED_DELAY|xxxs (xxx is number of seconds)
- Parameters:
scheduleString-- Returns:
- A new schedule
- Throws:
Schedules.UnrecognizableSchedule- When the scheduleString cannot be parsed
-