Package org.duracloud.storage.provider
Interface TaskProviderFactory
-
public interface TaskProviderFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskProvidergetTaskProvider()Retrieves the primary task provider for a given customer.TaskProvidergetTaskProvider(String storageAccountId)Retrieves a particular task provider based on the storage account ID.
-
-
-
Method Detail
-
getTaskProvider
TaskProvider getTaskProvider()
Retrieves the primary task provider for a given customer.- Returns:
- Throws:
StorageException
-
getTaskProvider
TaskProvider getTaskProvider(String storageAccountId) throws TaskException
Retrieves a particular task provider based on the storage account ID.- Parameters:
storageAccountId- - the ID of the provider account- Returns:
- Throws:
TaskException
-
-