| Modifier and Type | Class and Description |
|---|---|
class |
CronEntryImpl.TimeIterator
An iterator tracking the last execution time, and the groc time
specification object to compute future execution times.
|
| Constructor and Description |
|---|
CronEntryImpl(String url,
String description,
String schedule,
String tz) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the human-readable description of this cron entry.
|
Iterator<String> |
getNextTimesIterator()
Returns an iterator over upcoming execution times.
|
String |
getSchedule()
Returns the schedule of this cron entry.
|
String |
getTimezone()
Returns the timezone of this cron entry.
|
String |
getUrl()
Returns the application URL invoked by this cron entry.
|
String |
toXml() |
public String getDescription()
CronEntrygetDescription in interface CronEntry<description> element in cron.xml, or
null if none was supplied.public Iterator<String> getNextTimesIterator()
CronEntrygetNextTimesIterator in interface CronEntrypublic String getSchedule()
CronEntrygetSchedule in interface CronEntry<schedule> element in cron.xmlpublic String getTimezone()
CronEntrygetTimezone in interface CronEntry<schedule> element in cron.xml, or
"UTC" as the default value if none was explicitly supplied.public String getUrl()
CronEntryCopyright © 2022. All rights reserved.