Package buildbot :: Module interfaces :: Class IEmailLookup
[frames] | no frames]

Class IEmailLookup

source code

zope.interface.Interface --+
                           |
                          IEmailLookup

Instance Methods
 
getAddress(user)
Turn a User-name string into a valid email address.
source code
Class Variables
  __bases__ = (<InterfaceClass zope.interface.Interface>)
  __identifier__ = 'buildbot.interfaces.IEmailLookup'
  __iro__ = (<InterfaceClass buildbot.interfaces.IEmailLookup>, ...
  __name__ = 'IEmailLookup'
  __sro__ = (<InterfaceClass buildbot.interfaces.IEmailLookup>, ...
  dependents = <WeakKeyDictionary at 50975304>
Method Details

getAddress(user)

source code 

Turn a User-name string into a valid email address. Either return a string (with an @ in it), None (to indicate that the user cannot be reached by email), or a Deferred which will fire with the same.


Class Variable Details

__iro__

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

__sro__

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