- All Implemented Interfaces:
- Enclosing interface:
Enum denoting origin of checksum.
Nested Class Summary
Enum Constant SummaryEnum ConstantDescriptionProvided checksums may be provided by
ProvidedChecksumsSourcecomponents, ahead of artifact retrieval.Remote external kind of checksum are retrieved from remote doing extra transport round-trip (usually by getting "file.jar.sha1" for corresponding "file.jar" file).Included checksums may be received from remote repository during the retrieval of the main file, for example from response headers in case of HTTP transport.
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
REMOTE_EXTERNALRemote external kind of checksum are retrieved from remote doing extra transport round-trip (usually by getting "file.jar.sha1" for corresponding "file.jar" file). This kind of checksum is part of layout, and was from beginning the "official" (and one and only) checksum used by resolver. If no external checksum present,
ChecksumPolicy.onNoMoreChecksums()method is invoked that (by default) fails retrieval.
valuesReturns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
valueOfReturns 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.)