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

Class Interface

source code

object --+
         |
        Interface

An Interface represents some contract of behaviour.

Instance Methods
 
__init__(self, uri)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
feed_for(self) source code
 
reset(self) source code
str
get_name(self) source code
str
__repr__(self)
repr(x)
source code
 
set_stability_policy(self, new) source code
 
get_feed(self, url) source code
 
get_metadata(self, uri, name) source code

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

Class Variables
  implementations = property(lambda self: self._main_feed.implem...
  name = property(lambda self: self._main_feed.name)
  description = property(lambda self: self._main_feed.description)
  summary = property(lambda self: self._main_feed.summary)
  last_modified = property(lambda self: self._main_feed.last_mod...
  feeds = property(lambda self: self.extra_feeds+ self._main_fee...
  metadata = property(lambda self: self._main_feed.metadata)
  last_checked = property(lambda self: self._main_feed.last_chec...
Instance Variables
  stability_policy
user's configured policy.
  uri
the URI for this interface.
Properties

Inherited from object: __class__

Method Details

__init__(self, uri)
(Constructor)

source code 

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

Parameters:
  • uri (str)
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Returns: str
Overrides: object.__repr__

set_stability_policy(self, new)

source code 
Parameters:

Class Variable Details

implementations

Value:
property(lambda self: self._main_feed.implementations)

last_modified

Value:
property(lambda self: self._main_feed.last_modified)

feeds

Value:
property(lambda self: self.extra_feeds+ self._main_feed.feeds)

last_checked

Value:
property(lambda self: self._main_feed.last_checked)

Instance Variable Details

stability_policy

user's configured policy. Implementations at this level or higher are preferred. Lower levels are used only if there is no other choice.