A DBConnectorComponent to handle maintaining schedulers' state in the
db.
|
|
|
|
|
setState(self,
schedulerid,
state)
Set this scheduler's stored state, represented as a JSON-able
dictionary. |
source code
|
|
|
|
classifyChanges(self,
schedulerid,
classifications)
Record a collection of classifications in the scheduler_changes
table. |
source code
|
|
|
|
flushChangeClassifications(self,
schedulerid,
less_than=None)
Flush all scheduler_changes for schedulerid, limiting to those less than
less_than if the parameter is supplied. |
source code
|
|
|
|
getChangeClassifications(self,
schedulerid,
branch=<class buildbot.db.schedulers.Thunk at 0x3258328>)
Return the scheduler_changes rows for this scheduler, in the form of
a dictionary mapping changeid to a boolean (important). |
source code
|
|
|
|
getSchedulerId(self,
sched_name,
sched_class)
Get the schedulerid for the given scheduler, creating a new
schedulerid if none is found. |
source code
|
|
|
Inherited from base.DBConnectorComponent:
__init__
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|