Package | Description |
---|---|
org.eclipse.aether.spi.connector.checksum |
The support infrastructure for repository connectors to apply checksum policies when validating the integrity of
downloaded files.
|
Modifier and Type | Method and Description |
---|---|
static ChecksumPolicy.ChecksumKind |
ChecksumPolicy.ChecksumKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChecksumPolicy.ChecksumKind |
ChecksumPolicy.ChecksumKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChecksumPolicy.ChecksumKind[] |
ChecksumPolicy.ChecksumKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static ChecksumPolicy.ChecksumKind[] |
ChecksumPolicy.ChecksumKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ChecksumPolicy.onChecksumError(String algorithm,
ChecksumPolicy.ChecksumKind kind,
org.eclipse.aether.transfer.ChecksumFailureException exception)
Signals an error while computing the local checksum value or retrieving the checksum value from the remote
repository.
|
void |
ChecksumPolicy.onChecksumError(String algorithm,
ChecksumPolicy.ChecksumKind kind,
org.eclipse.aether.transfer.ChecksumFailureException exception)
Signals an error while computing the local checksum value or retrieving the checksum value from the remote
repository.
|
boolean |
ChecksumPolicy.onChecksumMatch(String algorithm,
ChecksumPolicy.ChecksumKind kind)
Signals a match between the locally computed checksum value and the checksum value declared by the remote
repository.
|
boolean |
ChecksumPolicy.onChecksumMatch(String algorithm,
ChecksumPolicy.ChecksumKind kind)
Signals a match between the locally computed checksum value and the checksum value declared by the remote
repository.
|
void |
ChecksumPolicy.onChecksumMismatch(String algorithm,
ChecksumPolicy.ChecksumKind kind,
org.eclipse.aether.transfer.ChecksumFailureException exception)
Signals a mismatch between the locally computed checksum value and the checksum value declared by the remote
repository.
|
void |
ChecksumPolicy.onChecksumMismatch(String algorithm,
ChecksumPolicy.ChecksumKind kind,
org.eclipse.aether.transfer.ChecksumFailureException exception)
Signals a mismatch between the locally computed checksum value and the checksum value declared by the remote
repository.
|
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.