Trees | Indices | Help |
|
---|
|
twisted.application.service.Service --+ | twisted.application.service.MultiService --+ | util.ComparableMixin --+ | BaseScheduler
Base class for all schedulers; this provides the equipment to manage reconfigurations and to handle basic scheduler state. It also provides utility methods to begin various sorts of builds.
Subclasses should add any configuration-derived attributes to
base.Scheduler.compare_attrs
.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Class Variables | |
compare_attrs =
|
|
__implemented__ = <implementedBy buildbot.schedulers.base.Base
|
|
Inherited from |
Method Details |
Initialize a Scheduler.
|
|
|
For use by subclasses; get a named state value from the scheduler's state, defaulting to DEFAULT.
|
For use by subclasses; set a named state value in the scheduler's persistent state. Note that value must be json-able.
|
Subclasses should call this method from startService to register to receive changes. The BaseScheduler class will take care of filtering the changes (using change_filter) and (if fileIsImportant is not None) classifying them. See gotChange. Returns a Deferred.
|
Called when a change is received; returns a Deferred. If the
|
Add a buildset for the 'latest' source in the given branch, repository, and project. This will create a relative sourcestamp for the buildset. This method will add any properties provided to the scheduler constructor to the buildset, and will call the master's addBuildset method with the appropriate parameters.
|
Add a buildset for the combination of the given changesets, creating a sourcestamp based on those changes. The sourcestamp for the buildset will reference all of the indicated changes. This method will add any properties provided to the scheduler constructor to the buildset, and will call the master's addBuildset method with the appropriate parameters.
|
|
Add a buildset for the given, already-existing sourcestamp. This method will add any properties provided to the scheduler
constructor to the buildset, and will call the master's
|
Special descriptor for class __provides__ The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker. For example: >>> from zope.interface import Interface >>> class IFooFactory(Interface): ... pass >>> class IFoo(Interface): ... pass >>> class C(object): ... implements(IFoo) ... classProvides(IFooFactory) >>> [i.getName() for i in C.__provides__] ['IFooFactory'] >>> [i.getName() for i in C().__provides__] ['IFoo']
|
Class Variable Details |
__implemented__
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Mar 25 19:40:34 2012 | http://epydoc.sourceforge.net |