Enum ValidationResult.ValidationType
- java.lang.Object
-
- java.lang.Enum<ValidationResult.ValidationType>
-
- org.fcrepo.migration.validator.api.ValidationResult.ValidationType
-
- All Implemented Interfaces:
Serializable,Comparable<ValidationResult.ValidationType>
- Enclosing class:
- ValidationResult
public static enum ValidationResult.ValidationType extends Enum<ValidationResult.ValidationType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValidationResult.ValidationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ValidationResult.ValidationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OBJECT_READABLE
public static final ValidationResult.ValidationType OBJECT_READABLE
-
SOURCE_OBJECT_DELETED
public static final ValidationResult.ValidationType SOURCE_OBJECT_DELETED
-
SOURCE_OBJECT_EXISTS_IN_TARGET
public static final ValidationResult.ValidationType SOURCE_OBJECT_EXISTS_IN_TARGET
-
TARGET_OBJECT_EXISTS_IN_SOURCE
public static final ValidationResult.ValidationType TARGET_OBJECT_EXISTS_IN_SOURCE
-
SOURCE_OBJECT_RESOURCE_DELETED
public static final ValidationResult.ValidationType SOURCE_OBJECT_RESOURCE_DELETED
-
SOURCE_OBJECT_RESOURCE_EXISTS_IN_TARGET
public static final ValidationResult.ValidationType SOURCE_OBJECT_RESOURCE_EXISTS_IN_TARGET
-
TARGET_OBJECT_RESOURCE_EXISTS_IN_SOURCE
public static final ValidationResult.ValidationType TARGET_OBJECT_RESOURCE_EXISTS_IN_SOURCE
-
METADATA
public static final ValidationResult.ValidationType METADATA
-
BINARY_SIZE
public static final ValidationResult.ValidationType BINARY_SIZE
-
BINARY_CHECKSUM
public static final ValidationResult.ValidationType BINARY_CHECKSUM
-
BINARY_VERSION_COUNT
public static final ValidationResult.ValidationType BINARY_VERSION_COUNT
-
BINARY_HEAD_COUNT
public static final ValidationResult.ValidationType BINARY_HEAD_COUNT
-
BINARY_METADATA
public static final ValidationResult.ValidationType BINARY_METADATA
-
REPOSITORY_RESOURCE_COUNT
public static final ValidationResult.ValidationType REPOSITORY_RESOURCE_COUNT
-
-
Method Detail
-
values
public static ValidationResult.ValidationType[] 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 (ValidationResult.ValidationType c : ValidationResult.ValidationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValidationResult.ValidationType 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
-
-