# Class e.p.a.m.AmazonCovers(MetadataCapability):

Part of elisa.plugins.amazon.metadata View In Hierarchy

Undocumented

Line # | Kind | Name | Docs
--- | --- | --- | ---
42 | Method | initialize | Initialize the component.
48 | Method | able_to_handle | Test whether the capability is able to handle a metadata request on the
56 | Method | get_metadata | Try to retrieve metadata and populate the model with it.

Inherited from Component (via MetadataCapability, Capability):

Line # | Kind | Name | Docs
--- | --- | --- | ---
85 | Class | PathDescriptor | Undocumented
97 | Class Method | create | Create and initialize the component.
142 | Method | clean | Clean the component.

Inherited from Loggable (via MetadataCapability, Capability, Component):

Line # | Kind | Name | Docs
--- | --- | --- | ---
81 | Method | __init__ | Undocumented

def initialize(self):
overrides elisa.core.component.Component.initialize

Initialize the component.

This method is called by `Component.create` to finish the initialization of a component.

Returns | a deferred called when a component is fully initialized (type: `twisted.internet.defer.Deferred` )

def able_to_handle(self, model):
overrides elisa.core.components.metadata_capability.MetadataCapability.able_to_handle
Test whether the capability is able to handle a metadata request on the given model.

Parameters | model | the model for which metadata is requested (type: a subclass of `elisa.core.components.model.Model` )
Returns | True if the capability is able to handle the given model, False otherwise (type: `bool` )

def get_metadata(self, model):
overrides elisa.core.components.metadata_capability.MetadataCapability.get_metadata
Try to retrieve metadata and populate the model with it.

Parameters | model | the model that should be populated with the metadata (type: a subclass of `elisa.core.components.model.Model` )
Returns | a deferred fired when the metadata retrieval is complete (type: `twisted.internet.defer.Deferred` )