Package buildbot :: Package changes :: Module mail :: Class BzrLaunchpadEmailMaildirSource
[frames] | no frames]

Class BzrLaunchpadEmailMaildirSource

source code

 twisted.application.service.Service --+            
twisted.application.service.MultiService --+        
                      maildir.MaildirService --+    
                        util.ComparableMixin --+    
                                   MaildirSource --+

Instance Methods
__init__(self, maildir, prefix=None, branchMap=None, defaultBranch=None, **kwargs)
Create the Maildir watcher.
source code
parse(self, m, prefix=None)
Parse branch notification messages sent by Launchpad.
source code

Inherited from MaildirSource: describe, messageReceived, parse_file

Inherited from maildir.MaildirService: dnotify_callback, poll, setBasedir, startService, stopService

Inherited from twisted.application.service.MultiService: __iter__, addService, getServiceNamed, privilegedStartService, removeService

Inherited from twisted.application.service.Service: __getstate__, __providedBy__, disownServiceParent, setName, setServiceParent

Inherited from util.ComparableMixin: __cmp__, __hash__

Class Variables
  name = 'Launchpad'
  compare_attrs = ['basedir', 'pollinterval', 'prefix', 'branchM...

Inherited from MaildirSource: __implemented__, __provides__

Inherited from maildir.MaildirService: pollinterval

Inherited from twisted.application.service.Service: parent, running

Method Details

__init__(self, maildir, prefix=None, branchMap=None, defaultBranch=None, **kwargs)

source code 

Create the Maildir watcher. BASEDIR is the maildir directory (the one which contains new/ and tmp/)

Overrides: twisted.application.service.MultiService.__init__

Class Variable Details


['basedir', 'pollinterval', 'prefix', 'branchMap', 'defaultBranch']