Package zeroinstall :: Package injector :: Module model :: Class InterfaceDependency
[frames] | no frames]

Class InterfaceDependency

source code

object --+    
         |    
Dependency --+
             |
            InterfaceDependency

A Dependency on a Zero Install interface.


Since: 0.28

Instance Methods
 
__init__(self, interface, restrictions=None, metadata=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Instance Variables
[Binding] bindings
how to make the choice of implementation known
str interface
the interface required by this dependency
[Restriction] restrictions
a list of constraints on acceptable implementations

Inherited from Dependency: metadata

Properties

Inherited from object: __class__

Method Details

__init__(self, interface, restrictions=None, metadata=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)