3.10.4. Change Sources
3.10.4.1. ChangeSource
- class buildbot.changes.base.ChangeSource
- This is the base class for change sources. - Subclasses should override the inherited - activateand- deactivatemethods if necessary to handle initialization and shutdown.- Change sources which are active on every master should, instead, override - startServiceand- stopService.
3.10.4.2. ReconfigurablePollingChangeSource
- class buildbot.changes.base.ReconfigurablePollingChangeSource
- This is a subclass of - ChangeSourcewhich adds polling behavior. Its constructor accepts the- pollIntervaland- pollAtLauncharguments as documented for most built-in change sources.- Subclasses should override the - pollmethod. This method may return a Deferred. Calls to- pollwill not overlap.
3.10.4.3. PollingChangeSource
- class buildbot.changes.base.PollingChangeSource
- This is a legacy class for polling change sources not yet ported to the - BuildbotServicecomponent lifecycle. Do not use for new code.