Package zeroinstall :: Package injector :: Module autopolicy :: Class AutoPolicy
[frames] | no frames]

Class AutoPolicy

source code

   object --+    
            |    
policy.Policy --+
                |
               AutoPolicy

Instance Methods
 
__init__(self, interface_uri, download_only=False, dry_run=False, src=False, handler=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
execute(self, prog_args, main=None, wrapper=None) source code
 
download_and_execute(self, prog_args, refresh=False, main=None) source code

Inherited from policy.Policy: download_and_import_feed_if_online, download_icon, download_uncached_implementations, fetcher, get_cached, get_feed_targets, get_implementation, get_implementation_path, get_interface, get_uncached_implementations, is_stale, need_download, recalculate, refresh_all, save_config, set_root, solve_with_downloads, usable_feeds

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

Class Variables

Inherited from policy.Policy: implementation, ready

Instance Variables

Inherited from policy.Policy: freshness, handler, help_with_testing, network_use, root, solver, src, stale_feeds, watchers

Properties

Inherited from object: __class__

Method Details

__init__(self, interface_uri, download_only=False, dry_run=False, src=False, handler=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • handler - (new in 0.30) handler to use, or None to create a Handler
Overrides: object.__init__