Provides logic for walking down XML tree and pulling data.
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:
- code/googleappengine-read-only/python/google/appengine/tools/queue_xml_parser.py