Package bitten :: Module api :: Class IBuildListener

Class IBuildListener

         object --+    
                  |    
trac.core.Interface --+
                      |
                     IBuildListener

Extension point interface for components that need to be notified of build events.

Note that these will be notified in the process running the build master, not the web interface.

Instance Methods
 
build_started(build)
Called when a build slave has accepted a build initiation.
 
build_aborted(build)
Called when a build slave cancels a build or disconnects.
 
build_completed(build)
Called when a build slave has completed a build, regardless of the outcome.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

build_started(build)

 
Called when a build slave has accepted a build initiation.
Parameters:
  • build (Build) - the build that was started

build_aborted(build)

 
Called when a build slave cancels a build or disconnects.
Parameters:
  • build (Build) - the build that was aborted

build_completed(build)

 
Called when a build slave has completed a build, regardless of the outcome.
Parameters:
  • build (Build) - the build that was completed