|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ChecksumStatus> dk.netarkivet.archive.arcrepositoryadmin.ChecksumStatus
public enum ChecksumStatus
The status of the checksum for the bitpreservation database.
Enum Constant Summary | |
---|---|
CORRUPT
The status is 'CORRUPT' if the checksum of the replicafileinfo entry does not match the checksum of the majority of the other replicafileinfo entries for the same file but for the other replicas. |
|
OK
The status is 'OK' if the checksum of the replicafileinfo entry is identical to the checksum of the other replicafileinfo entries for same file but for the other replicas. |
|
UNKNOWN
The status is 'UNKNOWN' before a update has taken place. |
Method Summary | |
---|---|
static ChecksumStatus |
fromOrdinal(int status)
Method to retrieve the FileListStatus based on an integer. |
static ChecksumStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ChecksumStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ChecksumStatus UNKNOWN
public static final ChecksumStatus CORRUPT
public static final ChecksumStatus OK
Method Detail |
---|
public static ChecksumStatus[] values()
for (ChecksumStatus c : ChecksumStatus.values()) System.out.println(c);
public static ChecksumStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static ChecksumStatus fromOrdinal(int status) throws ArgumentNotValid
status
- A certain integer for the upload status
ArgumentNotValid
- If argument rt does not correspond
to a UploadStatus.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |