@Singleton @Named(value="maven2") public final class Maven2RepositoryLayoutFactory extends Object implements RepositoryLayoutFactory
"default".| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_PROP_CHECKSUMS_ALGORITHMS |
static String |
CONFIG_PROP_OMIT_CHECKSUMS_FOR_EXTENSIONS |
| Constructor and Description |
|---|
Maven2RepositoryLayoutFactory()
Deprecated.
|
Maven2RepositoryLayoutFactory(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector) |
| Modifier and Type | Method and Description |
|---|---|
float |
getPriority() |
RepositoryLayout |
newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Maven2RepositoryLayoutFactory |
setPriority(float priority)
Sets the priority of this component.
|
public static final String CONFIG_PROP_CHECKSUMS_ALGORITHMS
public static final String CONFIG_PROP_OMIT_CHECKSUMS_FOR_EXTENSIONS
@Deprecated public Maven2RepositoryLayoutFactory()
@Inject public Maven2RepositoryLayoutFactory(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector)
public float getPriority()
getPriority in interface RepositoryLayoutFactorypublic Maven2RepositoryLayoutFactory setPriority(float priority)
priority - The priority.null.public RepositoryLayout newInstance(RepositorySystemSession session, RemoteRepository repository) throws NoRepositoryLayoutException
newInstance in interface RepositoryLayoutFactoryNoRepositoryLayoutExceptionCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.