c.l.m.c.EmailCommand : class documentation

Part of canonical.launchpad.mail.commands View In Hierarchy

Known subclasses: canonical.launchpad.mail.commands.AffectsEmailCommand, canonical.launchpad.mail.commands.BugEmailCommand, canonical.launchpad.mail.commands.CVEEmailCommand, canonical.launchpad.mail.commands.DuplicateEmailCommand, canonical.launchpad.mail.commands.EditEmailCommand, canonical.launchpad.mail.commands.PrivateEmailCommand, canonical.launchpad.mail.commands.ReplacedByImportanceCommand, canonical.launchpad.mail.commands.SecurityEmailCommand, canonical.launchpad.mail.commands.SubscribeEmailCommand, canonical.launchpad.mail.commands.TagEmailCommand, canonical.launchpad.mail.commands.UnsubscribeEmailCommand, lp.code.mail.codehandler.CodeReviewEmailCommand

Represents a command.

Both name the values in the args list are strings.

Method __init__ Undocumented
Method convertArguments Converts the string argument to Python objects.
Method __str__ See IEmailCommand.
Method _ensureNumberOfArguments Check that the number of arguments is correct.
def __init__(self, name, string_args):
Undocumented
def _ensureNumberOfArguments(self):
Check that the number of arguments is correct.

Raise an EmailProcessingError

def convertArguments(self, context):
Converts the string argument to Python objects.

Returns a dict with names as keys, and the Python objects as values.

def __str__(self):
See IEmailCommand.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.