Interface PackagesStorageProvider
public interface PackagesStorageProvider
The provider provides a generic method to get a storage provider.
-
Method Summary
Modifier and TypeMethodDescriptionGet a storage with the configuration.static PackagesStorageProvidernewProvider(String providerClassName) Construct a provider from the provided class.
-
Method Details
-
newProvider
Construct a provider from the provided class.- Parameters:
providerClassName- the provider class name- Returns:
- an instance of package storage provider
- Throws:
IOException
-
getStorage
Get a storage with the configuration.- Parameters:
config- storage configuration- Returns:
-