com.google.appengine.tools.admin
Interface CronEntry
-
public interface CronEntryDescribes a single cron entry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetDescription()Returns the human-readable description of this cron entry.java.util.Iterator<java.lang.String>getNextTimesIterator()Returns an iterator over upcoming execution times.java.lang.StringgetSchedule()Returns the schedule of this cron entry.java.lang.StringgetTimezone()Returns the timezone of this cron entry.java.lang.StringgetUrl()Returns the application URL invoked by this cron entry.java.lang.StringtoXml()
-
-
-
Method Detail
-
getUrl
java.lang.String getUrl()
Returns the application URL invoked by this cron entry.- Returns:
- the URL from the
<url>element in cron.xml
-
getDescription
java.lang.String getDescription()
Returns the human-readable description of this cron entry.- Returns:
- the text from the
<description>element in cron.xml, ornullif none was supplied.
-
getSchedule
java.lang.String getSchedule()
Returns the schedule of this cron entry.- Returns:
- the text from the
<schedule>element in cron.xml
-
getTimezone
java.lang.String getTimezone()
Returns the timezone of this cron entry.- Returns:
- the text from the
<schedule>element in cron.xml, or "UTC" as the default value if none was explicitly supplied.
-
getNextTimesIterator
java.util.Iterator<java.lang.String> getNextTimesIterator()
Returns an iterator over upcoming execution times. For schedules that are not explicitly fixed to clock time (e.g. "every 12 hours"), the current time will be used by this iterator, whereas time-of-last-update will be used on the production server.- Returns:
- a new iterator which can be queried for future execution times.
-
toXml
java.lang.String toXml()
-
-