App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine.tools.cron_xml_parser.CronXmlParser Class Reference
Inheritance diagram for google.appengine.tools.cron_xml_parser.CronXmlParser:

Public Member Functions

def ProcessXml
 
def ProcessCronNode
 

Public Attributes

 crons
 
 errors
 

Detailed Description

Provides logic for walking down XML tree and pulling data.

Member Function Documentation

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: