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

Class BzrLaunchpadEmailMaildirSource

source code

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

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: __provides__, describe, messageReceived, parse_file

Inherited from util.maildir.MaildirService: dnotify_callback, moveToCurDir, 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__

Inherited from util.maildir.MaildirService: pollinterval

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

Method Details

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

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

compare_attrs

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