Package buildbot :: Package process :: Module buildstep :: Class BuildStep
[frames] | no frames]

Class BuildStep

source code

properties.PropertiesMixin --+
                             |
                            BuildStep
Known Subclasses:

Instance Methods
 
__init__(self, **kwargs) source code
 
describe(self, done=False) source code
 
setBuild(self, build) source code
 
setBuildSlave(self, buildslave) source code
 
setDefaultWorkdir(self, workdir) source code
 
addFactoryArguments(self, **kwargs) source code
 
getStepFactory(self) source code
 
setStepStatus(self, step_status) source code
 
setupProgress(self) source code
 
setProgress(self, metric, value) source code
 
startStep(self, remote) source code
 
acquireLocks(self, res=None) source code
 
start(self) source code
 
interrupt(self, reason) source code
 
releaseLocks(self) source code
 
finished(self, results) source code
 
failed(self, why) source code
 
slaveVersion(self, command, oldversion=None) source code
 
slaveVersionIsOlderThan(self, command, minversion) source code
 
getSlaveName(self) source code
 
addLog(self, name) source code
 
getLog(self, name) source code
 
addCompleteLog(self, name, text) source code
 
addHTMLLog(self, name, html) source code
 
addLogObserver(self, logname, observer) source code
 
addURL(self, name, url) source code
 
runCommand(self, c) source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from properties.PropertiesMixin: __providedBy__, getProperties, getProperty, hasProperty, has_key, render, setProperty

Class Variables
  haltOnFailure = False
  flunkOnWarnings = False
  flunkOnFailure = False
  warnOnWarnings = False
  warnOnFailure = False
  alwaysRun = False
  doStepIf = True
  hideStepIf = False
  set_runtime_properties = True
the default value for the runtime parameter of setProperty.
  parms = ['name', 'locks', 'haltOnFailure', 'flunkOnWarnings', ...
  name = 'generic'
  locks = []
  progressMetrics = ()
  useProgress = True
  build = None
hash(x)
  step_status = None
hash(x)
  progress = None
hash(x)
  __implemented__ = <implementedBy buildbot.process.buildstep.Bu...
Method Details

__provides__(...)

 
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']

Overrides: properties.PropertiesMixin.__provides__

Class Variable Details

parms

Value:
['name',
 'locks',
 'haltOnFailure',
 'flunkOnWarnings',
 'flunkOnFailure',
 'warnOnWarnings',
 'warnOnFailure',
 'alwaysRun',
...

__implemented__

Value:
<implementedBy buildbot.process.buildstep.BuildStep>