Package elisa :: Package core :: Package tests :: Module test_metadata_provider :: Class BarMetadataProvider
[hide private]
[frames] | no frames]

Class BarMetadataProvider

source code


Nested Classes [hide private]

Inherited from component.Component: __metaclass__

Instance Methods [hide private]
integer
get_rank(self)
Rank determining wether the parser should be prioritized.
source code
bool
able_to_handle(self, dict)
Return wether this provider is able to fill in metadata, when it gets this metadata dictionary.
source code
twisted.internet.defer.Deferred
get_metadata(self, dict, low_priority=False)
Retrieve the metadata for this metadata request and put it in there.
source code
 
_get_metadata(self, dict) source code

Inherited from component.Component: __init__, clean, initialize, load_config, save_config

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

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

Static Methods [hide private]

Inherited from component.Component: __classinit__

Class Variables [hide private]

Inherited from base_components.metadata_provider.MetadataProvider: name

Inherited from component.Component: checked, config_doc, default_config, id, plugin

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]

Inherited from component.Component: config, path

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_rank(self)

source code 
Rank determining wether the parser should be prioritized.
Returns: integer
the rank as integer between 0 and 255
Overrides: base_components.metadata_provider.MetadataProvider.get_rank
(inherited documentation)

able_to_handle(self, dict)

source code 
Return wether this provider is able to fill in metadata, when it gets this metadata dictionary.
Returns: bool
Overrides: base_components.metadata_provider.MetadataProvider.able_to_handle
(inherited documentation)

get_metadata(self, dict, low_priority=False)

source code 
Retrieve the metadata for this metadata request and put it in there.
Returns: twisted.internet.defer.Deferred
Overrides: base_components.metadata_provider.MetadataProvider.get_metadata
(inherited documentation)