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.
|
|
|
|
|
|
|
|
|
|
|
getState(self,
key,
default=<class buildbot.schedulers.base.Thunk at 0x3264598>)
For use by subclasses; get a named state value from the scheduler's
state, defaulting to DEFAULT; raises KeyError if default
is not given and no value exists. |
source code
|
|
|
|
setState(*args,
**kwargs)
For use by subclasses; set a named state value in the scheduler's
persistent state. |
source code
|
|
|
|
listBuilderNames(self)
Returns the list of builder names |
source code
|
|
|
|
getPendingBuildTimes(self)
Returns a list of the next times that builds are scheduled, if known. |
source code
|
|
|
|
startConsumingChanges(self,
fileIsImportant=None,
change_filter=None,
onlyImportant=False)
Subclasses should call this method from startService to register to
receive changes. |
source code
|
|
|
|
gotChange(self,
change,
important)
Called when a change is received; returns a Deferred. |
source code
|
|
|
|
addBuildsetForLatest(self,
reason='',
external_idstring=None,
branch=None,
repository='',
project='',
builderNames=None,
properties=None)
Add a buildset for the 'latest' source in the given branch,
repository, and project. |
source code
|
|
|
|
addBuildsetForChanges(self,
reason='',
external_idstring=None,
changeids=[],
builderNames=None,
properties=None)
Add a buildset for the combination of the given changesets, creating
a sourcestamp based on those changes. |
source code
|
|
|
|
addBuildsetForSourceStamp(self,
ssid,
reason='',
external_idstring=None,
properties=None,
builderNames=None)
Add a buildset for the given, already-existing sourcestamp. |
source code
|
|
|
Inherited from twisted.application.service.MultiService:
__iter__,
__provides__,
addService,
getServiceNamed,
privilegedStartService,
removeService
Inherited from twisted.application.service.Service:
__getstate__,
__providedBy__,
disownServiceParent,
setName,
setServiceParent
Inherited from util.ComparableMixin:
__cmp__,
__hash__
|