Class DefaultVersionSchemeSelector
java.lang.Object
org.eclipse.aether.internal.impl.version.DefaultVersionSchemeSelector
- All Implemented Interfaces:
org.eclipse.aether.spi.version.VersionSchemeSelector
@Singleton
@Named
public class DefaultVersionSchemeSelector
extends Object
implements org.eclipse.aether.spi.version.VersionSchemeSelector
Default implementation.
- Since:
- 2.0.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefaultVersionSchemeSelector
(Map<String, org.eclipse.aether.version.VersionScheme> versionSchemes) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.version.VersionScheme
selectVersionScheme
(String schemeName) org.eclipse.aether.version.VersionScheme
selectVersionScheme
(org.eclipse.aether.RepositorySystemSession session)
-
Field Details
-
CONFIG_PROP_VERSION_SCHEME_NAME
The name of the version scheme to be used in session.- See Also:
- Sourced from:
RepositorySystemSession.getConfigProperties()
- Value type:
String
- Default value:
DEFAULT_VERSION_SCHEME_NAME
-
DEFAULT_VERSION_SCHEME_NAME
- See Also:
-
-
Constructor Details
-
DefaultVersionSchemeSelector
@Inject public DefaultVersionSchemeSelector(Map<String, org.eclipse.aether.version.VersionScheme> versionSchemes)
-
-
Method Details
-
selectVersionScheme
- Specified by:
selectVersionScheme
in interfaceorg.eclipse.aether.spi.version.VersionSchemeSelector
-
selectVersionScheme
public org.eclipse.aether.version.VersionScheme selectVersionScheme(org.eclipse.aether.RepositorySystemSession session) - Specified by:
selectVersionScheme
in interfaceorg.eclipse.aether.spi.version.VersionSchemeSelector
-
getVersionSchemes
- Specified by:
getVersionSchemes
in interfaceorg.eclipse.aether.spi.version.VersionSchemeSelector
-