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.queue_xml_parser.QueueXmlParser Class Reference
Inheritance diagram for google.appengine.tools.queue_xml_parser.QueueXmlParser:

Public Member Functions

def ProcessXml
 
def ProcessQueueNode
 

Public Attributes

 errors
 
 queue_xml
 

Detailed Description

Provides logic for walking down XML tree and pulling data.

Member Function Documentation

def google.appengine.tools.queue_xml_parser.QueueXmlParser.ProcessQueueNode (   self,
  node 
)
Processes XML <queue> nodes into Queue objects.

The following information is parsed out:
  name
  mode: can be either push or pull
  retry-parameters:
task-retry-limit
---- push queues only ----
task-age-limit
min-backoff-seconds
max-back-off-seconds
max-doubling
  bucket-size
  max-concurrent-requests
  rate: how often tasks are processed on this queue.
  target: version of application on which tasks on this queue will be
invoked.
---- pull queues only ----
  acl: access control list - lists user and writer email addresses.

Args:
  node: Current <queue> XML node being processed.
def google.appengine.tools.queue_xml_parser.QueueXmlParser.ProcessXml (   self,
  xml_str 
)
Parses XML string and returns object representation of relevant info.

Args:
  xml_str: The XML string.
Returns:
  A QueueXml object containing information about task queue
  specifications from the XML.
Raises:
  AppEngineConfigException: In case of malformed XML or illegal inputs.

The documentation for this class was generated from the following file: