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

Class Dependency

source code

object --+
         |
        Dependency

A Dependency indicates that an Implementation requires some additional code to function. This is an abstract base class.

Instance Methods
 
__init__(self, element)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
get_required_commands(self)
Return a list of command names needed by this dependency
source code

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

Class Variables
  Essential = "essential"
  Recommended = "recommended"
  Restricts = "restricts"
Instance Variables
 
metadata(self)
any extra attributes from the XML element
source code
qdom.Element qdom
the XML element for this Dependency (since 0launch 0.51)
Properties

Inherited from object: __class__

Method Details

__init__(self, element)
(Constructor)

source code 

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

Parameters:
Overrides: object.__init__

Instance Variable Details

metadata(self)

source code 
any extra attributes from the XML element
Decorators:
  • @property