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, element=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
str(x)
source code
 
get_required_commands(self)
Return a list of command names needed by this dependency
source code
 
command(self) source code

Inherited from Dependency: importance

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

Class Variables

Inherited from Dependency: Essential, Recommended

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, qdom

Properties

Inherited from object: __class__

Method Details

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

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

get_required_commands(self)

source code 

Return a list of command names needed by this dependency

Overrides: Dependency.get_required_commands

command(self)

source code 
Decorators:
  • @property