Package org.mockserver.state
Interface BlobStoreFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
SPI for pluggable
BlobStore implementations. Cloud blob store
modules (S3, GCS, Azure) register a factory via
StateBackendFactory.registerBlobStoreFactory(String, BlobStoreFactory)
without requiring mockserver-core to depend on any cloud SDK.
The factory is invoked by StateBackendFactory.createBlobStore(Configuration)
when the blobStoreType configuration property matches the registered
type name.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(Configuration configuration) Creates aBlobStorefrom the given configuration.
-
Method Details
-
create
Creates aBlobStorefrom the given configuration.- Parameters:
configuration- the MockServer configuration- Returns:
- a configured blob store instance
-