Package buildbot :: Package changes :: Module bonsaipoller :: Class BonsaiPoller
[frames | no frames]

Class BonsaiPoller

ComparableMixin --+    
                  |    
        Service --+    
                  |    
       ChangeSource --+
                      |
                     BonsaiPoller


This source will poll a bonsai server for changes and submit them to the change master.
Method Summary
  __init__(self, bonsaiURL, module, branch, tree, cvsroot, pollInterval)
  describe(self)
  poll(self)
  startService(self)
  stopService(self)
    Inherited from Service
  __getstate__(self)
  disownServiceParent(self)
  privilegedStartService(self)
  setName(self, name)
  setServiceParent(self, parent)
    Inherited from ComparableMixin
  __cmp__(self, them)
  __hash__(self)

Class Variable Summary
list compare_attrs = ['bonsaiURL', 'pollInterval', 'tree', 'm...
NoneType loop = None                                                                  
NoneType parent = None                                                                  
list volatile = ['loop']
bool working = False
    Inherited from ChangeSource
Implements __implemented__ = <implementedBy buildbot.changes.base.C...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from Service
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
NoneType name = None                                                                  
int running = 0                                                                     

Method Details

__init__(self, bonsaiURL, module, branch, tree='default', cvsroot='/cvsroot', pollInterval=30)
(Constructor)

Parameters:
bonsaiURL - The base URL of the Bonsai server (ie. http://bonsai.mozilla.org)
           (type=string)
module - The module to look for changes in. Commonly this is 'all'
           (type=string)
branch - The branch to look for changes in. This must match the 'branch' option for the Scheduler.
           (type=string)
tree - The tree to look for changes in. Commonly this is 'all'
           (type=string)
cvsroot - The cvsroot of the repository. Usually this is '/cvsroot'
           (type=string)
pollInterval - The time (in seconds) between queries for changes
           (type=int)

Class Variable Details

compare_attrs

Type:
list
Value:
['bonsaiURL', 'pollInterval', 'tree', 'module', 'branch', 'cvsroot']   

loop

Type:
NoneType
Value:
None                                                                  

parent

Type:
NoneType
Value:
None                                                                  

volatile

Type:
list
Value:
['loop']                                                               

working

Type:
bool
Value:
False                                                                  

Generated by Epydoc 2.1 on Sun Dec 10 22:04:45 2006 http://epydoc.sf.net