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

Class CVSMaildirSource

source code

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

Instance Methods
 
__init__(self, maildir, prefix=None, category='', repository='', urlmaker=None, properties={})
If urlmaker is defined, it will be called with three arguments: filename, previous version, new version.
source code
 
parse(self, m, prefix=None)
Parse messages sent by the 'buildbot-cvs-mail' program.
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 = 'CVSMaildirSource'

Inherited from MaildirSource: __implemented__, __provides__, compare_attrs

Inherited from maildir.MaildirService: pollinterval

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

Method Details

__init__(self, maildir, prefix=None, category='', repository='', urlmaker=None, properties={})
(Constructor)

source code 

If urlmaker is defined, it will be called with three arguments: filename, previous version, new version. It returns a url for that file.

Overrides: twisted.application.service.MultiService.__init__