Class FixedBucketObjectNameMapperFactory
java.lang.Object
org.eclipse.aether.transport.minio.internal.FixedBucketObjectNameMapperFactory
- All Implemented Interfaces:
ObjectNameMapperFactory
@Singleton
@Named("fixedBucket")
public class FixedBucketObjectNameMapperFactory
extends Object
implements ObjectNameMapperFactory
A fixed bucket mapper, uses given bucket ID and then constructs object name using repository ID and layout path as
object name.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(RepositorySystemSession session, RemoteRepository repository, io.minio.MinioClient unused, Map<String, String> headers) Creates a factory for mapping artifact layout path ontoObjectName
.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
FixedBucketObjectNameMapperFactory
public FixedBucketObjectNameMapperFactory()
-
-
Method Details
-
create
public ObjectNameMapper create(RepositorySystemSession session, RemoteRepository repository, io.minio.MinioClient unused, Map<String, String> headers) Description copied from interface:ObjectNameMapperFactory
Creates a factory for mapping artifact layout path ontoObjectName
. Should never returnnull
.- Specified by:
create
in interfaceObjectNameMapperFactory
-