public class ChecksumInfo extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
TRUSTED_FILE_MARKER |
Constructor and Description |
---|
ChecksumInfo(ChecksumType type,
String original,
String actual) |
Modifier and Type | Method and Description |
---|---|
boolean |
checksumsMatch() |
boolean |
equals(Object o)
Compares checksum by type only
|
String |
getActual() |
String |
getOriginal() |
String |
getOriginalOrNoOrig() |
ChecksumType |
getType() |
int |
hashCode() |
boolean |
isIdentical(Object o)
Compares checksum by type and value.
|
boolean |
isMarkedAsTrusted()
Checks if the checksum is marked as trusted by Artifactory.
|
String |
toString() |
public static final String TRUSTED_FILE_MARKER
public ChecksumInfo(ChecksumType type, String original, String actual)
public ChecksumType getType()
public String getOriginal()
public String getOriginalOrNoOrig()
public String getActual()
public boolean checksumsMatch()
public boolean isMarkedAsTrusted()
public boolean isIdentical(Object o)
public boolean equals(Object o)
Copyright © 2019. All rights reserved.