# Class e.c.e.e.EggXmlrpcRepository(EggRepository):

Part of elisa.core.epm.egg_repository View In Hierarchy

Elisa egg repository.

Line # | Kind | Name | Docs
--- | --- | --- | ---
180 | Method | get_plugins | Retrive the list of its own plugins.
233 | Method | get_download_url_for_plugin | Get the download url.
249 | Method | download | Actually download the plugin data.
303 | Method | upload | Upload a plugin to the repository.

Inherited from EggRepository:

Line # | Kind | Name | Docs
--- | --- | --- | ---
75 | Method | __init__ | Undocumented
81 | Method | __repr__ | Undocumented
85 | Method | _restore_state | Undocumented
108 | Method | _save_state | Undocumented
116 | Method | get_id | Undocumented

def get_plugins(self):
overrides elisa.core.epm.egg_repository.EggRepository.get_plugins
Retrive the list of its own plugins.

Returns | the list of plugins (type: a `twisted.internet.defer.Deferred` with the list of `epm.egg_plugin.EggPlugin`s as result )

def get_download_url_for_plugin(self, api_key, plugin_id):
overrides elisa.core.epm.egg_repository.EggRepository.get_download_url_for_plugin
Get the download url.

Parameters | api_key | the user's key (type: string )
| plugin | the plugin name (type: string )
Returns | the download url (type: a `twisted.internet.defer.Deferred` with a string as result )

def download(self, plugin):
overrides elisa.core.epm.egg_repository.EggRepository.download
Actually download the plugin data.

Parameters | plugin | the plugin (type: `epm.egg_plugin.EggPlugin` )
Returns | the plugin data (type: a `twisted.internet.defer.Deferred` with a string as result )

def upload(self, api_key, eggs, update_state=''):
overrides elisa.core.epm.egg_repository.EggRepository.upload
Upload a plugin to the repository.

Parameters | api_key | the user key (type: string )
| plugin | the plugin (type: `epm.egg_plugin.EggPlugin` )
| update_state | the update state for the plugin (eg.: important, recommended) (type: string )
| plugin | (type: `epm.egg_plugin.EggPlugin` )
Returns | the plugin data (type: string )