Package org.fcrepo.kernel.api.utils
Enum FixityResult.FixityState
- java.lang.Object
-
- java.lang.Enum<FixityResult.FixityState>
-
- org.fcrepo.kernel.api.utils.FixityResult.FixityState
-
- All Implemented Interfaces:
Serializable
,Comparable<FixityResult.FixityState>
- Enclosing interface:
- FixityResult
public static enum FixityResult.FixityState extends Enum<FixityResult.FixityState>
The possible fixity states (which may be ORed together later)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_CHECKSUM
BAD_SIZE
SUCCESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FixityResult.FixityState
valueOf(String name)
Returns the enum constant of this type with the specified name.static FixityResult.FixityState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final FixityResult.FixityState SUCCESS
-
BAD_CHECKSUM
public static final FixityResult.FixityState BAD_CHECKSUM
-
BAD_SIZE
public static final FixityResult.FixityState BAD_SIZE
-
-
Method Detail
-
values
public static FixityResult.FixityState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FixityResult.FixityState c : FixityResult.FixityState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FixityResult.FixityState valueOf(String name)
Returns 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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-