Provides logic for walking down XML tree and pulling data.
def google.appengine.tools.cron_xml_parser.CronXmlParser.ProcessCronNode |
( |
|
self, |
|
|
|
node |
|
) |
| |
Processes XML <cron> nodes into Cron objects.
The following information is parsed out:
description: Describing the purpose of the cron job.
url: The location of the script.
schedule: Written in groc; the schedule according to which the job is
executed.
timezone: The timezone that the schedule runs in.
target: Which version of the app this applies to.
Args:
node: <cron> XML node in cron.xml.
def google.appengine.tools.cron_xml_parser.CronXmlParser.ProcessXml |
( |
|
self, |
|
|
|
xml_str |
|
) |
| |
Parses XML string and returns object representation of relevant info.
Args:
xml_str: The XML string.
Returns:
A list of Cron objects containing information about cron jobs from the
XML.
Raises:
AppEngineConfigException: In case of malformed XML or illegal inputs.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/tools/cron_xml_parser.py