Interface StorageStrategyProvider
public interface StorageStrategyProvider
This interface aims at providing a set of method that are common with no
concerns of the strategy configuration implementation (ie: implementation
could be Filesystem, Database...)
-
Method Summary
Modifier and TypeMethodDescriptiongetStorageOffer
(String idOffer) Retrieve all the available storage strategiesgetStorageStrategy
(String idStrategy) Retrieve a storage strategy by its id
-
Method Details
-
getStorageStrategy
Retrieve a storage strategy by its id- Parameters:
idStrategy
- the id of the storage strategy to retrieve- Returns:
- an object representation of a storage strategy
- Throws:
StorageTechnicalException
- if any unwanted technical issue happens
-
getStorageStrategies
Retrieve all the available storage strategies- Returns:
- all storage strategies by id
- Throws:
StorageTechnicalException
- if any unwanted technical issue happens
-
getStorageOffer
- Throws:
StorageException
-