Package sonia.scm.store
Interface BlobStoreFactory
public interface BlobStoreFactory
The BlobStoreFactory can be used to create a new or get an existing
Call this to create a global
Call this to create a
BlobStores.
You can either create a global BlobStore or a BlobStore for a specific repository.
Call this to create a global
BlobStore:
blobStoreFactory.withName("name").build();
Call this to create a
BlobStore for a specific repository:
blobStoreFactory.withName("name").forRepository(repository).build();
- Since:
- 1.23
-
Method Summary
Modifier and TypeMethodDescriptiongetStore(StoreParameters storeParameters) Creates a new or gets an existingBlobStore.default StoreParametersBuilder<BlobStore>Use this to create a new or get an existingBlobStorewith a floating API.
-
Method Details
-
getStore
Creates a new or gets an existingBlobStore. Instead of calling this method you should use the floating API fromwithName(String).- Parameters:
storeParameters- The parameters for the blob store.- Returns:
- A new or an existing
BlobStorefor the given parameters.
-
withName
Use this to create a new or get an existingBlobStorewith a floating API.
-