Package org.dspace.checker
Enum Class ChecksumResultCode
- All Implemented Interfaces:
Serializable,Comparable<ChecksumResultCode>,Constable
Enumeration of ChecksumCheckResults containing constants for checksum
comparison result that must correspond to values in checksum_result table.
- Author:
- Jim Downing, Grace Carpenter, Nathan Sarr, Kevin Van de Velde
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ChecksumResultCodeReturns the enum constant of this class with the specified name.static ChecksumResultCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BITSTREAM_NOT_FOUND
-
BITSTREAM_INFO_NOT_FOUND
-
BITSTREAM_NOT_PROCESSED
-
BITSTREAM_MARKED_DELETED
-
CHECKSUM_MATCH
-
CHECKSUM_NO_MATCH
-
CHECKSUM_PREV_NOT_FOUND
-
CHECKSUM_ALGORITHM_INVALID
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-