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

Class InterfaceDependency

source code

      object --+        
               |        
      Dependency --+    
                   |    
InterfaceRestriction --+
                       |
                      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
__str__(self)
str(x)
source code
 
importance(self) source code
 
get_required_commands(self)
Return a list of command names needed by this dependency
source code
 
command(self) source code

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

Class Variables

Inherited from Dependency: Essential, Recommended, Restricts

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

Parameters:
Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

str(x)

Returns: str
Overrides: object.__str__

importance(self)

source code 
Decorators:
  • @property
Overrides: importance

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