Enum RepositoryIdHelper.RepositoryKeyType
- java.lang.Object
-
- java.lang.Enum<RepositoryIdHelper.RepositoryKeyType>
-
- org.eclipse.aether.util.repository.RepositoryIdHelper.RepositoryKeyType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RepositoryIdHelper.RepositoryKeyType>
- Enclosing class:
- RepositoryIdHelper
public static enum RepositoryIdHelper.RepositoryKeyType extends java.lang.Enum<RepositoryIdHelper.RepositoryKeyType>
SupportedrepositoryKeytypes.- Since:
- 2.0.14
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GURKCrafts unique repository key usingRemoteRepository.getId()and all the remaining properties ofRemoteRepository.HURLCrafts repository key using hashedRemoteRepository.getUrl().NGURKCrafts normalized unique repository key usingRemoteRepository.getId()and all the remaining properties ofRemoteRepositoryignoring actual list of mirrors, if any (but mirrors are split).NIDCrafts repository key using normalizedRemoteRepository.getId().NID_HURLCrafts unique repository key using normalizedRemoteRepository.getId()and hashedRemoteRepository.getUrl().SIMPLEThe "simple" repository key, was default in Maven 3.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RepositoryIdHelper.RepositoryKeyTypevalueOf(java.lang.String name)Returns 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 Detail
-
SIMPLE
public static final RepositoryIdHelper.RepositoryKeyType SIMPLE
The "simple" repository key, was default in Maven 3.
-
NID
public static final RepositoryIdHelper.RepositoryKeyType NID
Crafts repository key using normalizedRemoteRepository.getId().
-
HURL
public static final RepositoryIdHelper.RepositoryKeyType HURL
Crafts repository key using hashedRemoteRepository.getUrl().
-
NID_HURL
public static final RepositoryIdHelper.RepositoryKeyType NID_HURL
Crafts unique repository key using normalizedRemoteRepository.getId()and hashedRemoteRepository.getUrl().
-
NGURK
public static final RepositoryIdHelper.RepositoryKeyType 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
public static final RepositoryIdHelper.RepositoryKeyType GURK
Crafts unique repository key usingRemoteRepository.getId()and all the remaining properties ofRemoteRepository.
-
-
Method Detail
-
values
public static RepositoryIdHelper.RepositoryKeyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RepositoryIdHelper.RepositoryKeyType c : RepositoryIdHelper.RepositoryKeyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RepositoryIdHelper.RepositoryKeyType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-