l.b.m.b.BuildQueue(SQLBase) : class documentation

Part of lp.buildmaster.model.buildqueue View In Hierarchy

No class docstring
Method __init__ Extended version of the SQLObjectBase constructor.
Method specific_build See IBuildQueue.
Method build_cookie See IBuildQueue.
Static Method preloadSpecificBuild Undocumented
Method current_build_duration See IBuildQueue.
Method destroySelf Remove this record.
Method manualScore See IBuildQueue.
Method score See IBuildQueue.
Method markAsBuilding See IBuildQueue.
Method collectStatus See IBuildQueue.
Method suspend See IBuildQueue.
Method resume See IBuildQueue.
Method reset See IBuildQueue.
Method cancel See IBuildQueue.
Method markAsCancelled See IBuildQueue.
Method getEstimatedJobStartTime See IBuildQueue.
Method _clear_specific_build_cache Undocumented
Static Method _now Return current time (UTC). Overridable for test purposes.

Inherited from SQLBase:

Method __repr__ Undocumented
Method __eq__ Equality operator.
Method __ne__ Inverse of __eq__.
Method __storm_invalidated__ Flush cached properties.
Class Method _get_store Undocumented
def __init__(self, build_farm_job, estimated_duration=DEFAULT, virtualized=DEFAULT, processor=DEFAULT, lastscore=None):
Extended version of the SQLObjectBase constructor.

We force use of the master Store.

We refetch any parameters from different stores from the correct master Store.

@cachedproperty
def specific_build(self):
See IBuildQueue.
@property
def build_cookie(self):
See IBuildQueue.
def _clear_specific_build_cache(self):
Undocumented
@staticmethod
def preloadSpecificBuild(queues):
Undocumented
@property
def current_build_duration(self):
See IBuildQueue.
def destroySelf(self):
Remove this record.
def manualScore(self, value):
See IBuildQueue.
def score(self):
See IBuildQueue.
def markAsBuilding(self, builder):
See IBuildQueue.
def collectStatus(self, slave_status):
See IBuildQueue.
def suspend(self):
See IBuildQueue.
def resume(self):
See IBuildQueue.
def reset(self):
See IBuildQueue.
def cancel(self):
See IBuildQueue.
def markAsCancelled(self):
See IBuildQueue.
def getEstimatedJobStartTime(self, now=None):
See IBuildQueue.
@staticmethod
def _now():
Return current time (UTC). Overridable for test purposes.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.