Package buildbot :: Module interfaces :: Class ISourceStamp
[hide private]
[frames] | no frames]

Class ISourceStamp

source code

zope.interface.Interface --+
                           |
                          ISourceStamp

Instance Methods [hide private]
 
canBeMergedWith(self, other)
Can this SourceStamp be merged with OTHER?
source code
 
mergeWith(self, others)
Generate a SourceStamp for the merger of me and all the other BuildRequests.
source code
 
getAbsoluteSourceStamp(self, got_revision)
Get a new SourceStamp object reflecting the actual revision found by a Source step.
source code
 
getText(self)
Returns a list of strings to describe the stamp.
source code
Class Variables [hide private]
  _InterfaceClass__attrs = {'canBeMergedWith': <zope.interface.i...
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.ISourceStamp'
  __iro__ = (<InterfaceClass buildbot.interfaces.ISourceStamp>, ...
  __name__ = 'ISourceStamp'
  __sro__ = (<InterfaceClass buildbot.interfaces.ISourceStamp>, ...
  _implied = {<InterfaceClass buildbot.interfaces.ISourceStamp>:...
string or None branch
branch from which source was drawn
tuple of buildbot.changes.changes.Change instances, all of which are on the same branch changes
the source step should check out hte latest revision in the given changes
  dependents = <WeakKeyDictionary at 45476392>
None or tuple (level diff) patch
patch applied to the source, or None if no patch
varies depending on VC revision
revision of the source, or None to use CHANGES

Inherited from zope.interface.Interface (private): _Element__tagged_values

Method Details [hide private]

mergeWith(self, others)

source code 

Generate a SourceStamp for the merger of me and all the other BuildRequests. This is called by a Build when it starts, to figure out what its sourceStamp should be.

getText(self)

source code 

Returns a list of strings to describe the stamp. These are intended to be displayed in a narrow column. If more space is available, the caller should join them together with spaces before presenting them to the user.


Class Variable Details [hide private]

_InterfaceClass__attrs

Value:
{'canBeMergedWith': <zope.interface.interface.Method object at 0x2b5df\
50>,
 'getAbsoluteSourceStamp': <zope.interface.interface.Method object at \
0x2b5df90>,
 'getText': <zope.interface.interface.Method object at 0x2b5df10>,
 'mergeWith': <zope.interface.interface.Method object at 0x2b5ded0>}

__iro__

Value:
(<InterfaceClass buildbot.interfaces.ISourceStamp>,
 <InterfaceClass zope.interface.Interface>)

__sro__

Value:
(<InterfaceClass buildbot.interfaces.ISourceStamp>,
 <InterfaceClass zope.interface.Interface>)

_implied

Value:
{<InterfaceClass buildbot.interfaces.ISourceStamp>: (),
 <InterfaceClass zope.interface.Interface>: ()}