Enum RepositoryIdHelper.RepositoryKeyType
java.lang.Object
java.lang.Enum<RepositoryIdHelper.RepositoryKeyType>
org.eclipse.aether.util.repository.RepositoryIdHelper.RepositoryKeyType
- All Implemented Interfaces:
Serializable,Comparable<RepositoryIdHelper.RepositoryKeyType>,java.lang.constant.Constable
- Enclosing class:
RepositoryIdHelper
public static enum RepositoryIdHelper.RepositoryKeyType
extends Enum<RepositoryIdHelper.RepositoryKeyType>
Supported
repositoryKey types.- Since:
- 2.0.14
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCrafts unique repository key usingRemoteRepository.getId()and all the remaining properties ofRemoteRepository.Crafts repository key using hashedRemoteRepository.getUrl().Crafts normalized unique repository key usingRemoteRepository.getId()and all the remaining properties ofRemoteRepositoryignoring actual list of mirrors, if any (but mirrors are split).Crafts repository key using normalizedRemoteRepository.getId().Crafts unique repository key using normalizedRemoteRepository.getId()and hashedRemoteRepository.getUrl().The "simple" repository key, was default in Maven 3. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static RepositoryIdHelper.RepositoryKeyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SIMPLE
The "simple" repository key, was default in Maven 3. -
NID
Crafts repository key using normalizedRemoteRepository.getId(). -
HURL
Crafts repository key using hashedRemoteRepository.getUrl(). -
NID_HURL
Crafts unique repository key using normalizedRemoteRepository.getId()and hashedRemoteRepository.getUrl(). -
NGURK
Crafts normalized unique repository key usingRemoteRepository.getId()and all the remaining properties ofRemoteRepositoryignoring actual list of mirrors, if any (but mirrors are split). -
GURK
Crafts unique repository key usingRemoteRepository.getId()and all the remaining properties ofRemoteRepository.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-