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

Class InterfaceRestriction

source code

object --+    
         |    
Dependency --+
             |
            InterfaceRestriction

A Dependency that restricts the possible choices of a Zero Install interface.


Since: 1.10

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

Inherited from Dependency: get_required_commands

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

Class Variables
  importance = "restricts"
  bindings = ()

Inherited from Dependency: Essential, Recommended, Restricts

Instance Variables
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)

Overrides: object.__str__
(inherited documentation)