Package org.verapdf.pdfa.results
Enum Class MetadataFixerResult.RepairStatus
java.lang.Object
java.lang.Enum<MetadataFixerResult.RepairStatus>
org.verapdf.pdfa.results.MetadataFixerResult.RepairStatus
- All Implemented Interfaces:
Serializable
,Comparable<MetadataFixerResult.RepairStatus>
,java.lang.constant.Constable
- Enclosing interface:
- MetadataFixerResult
Enumeration that indicates the status of a metadata repair task.
- Author:
- Carl Wilson
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMetadata repair was attempted but failed.No action was taken because the file is already validMetadata repair was carried out successfully.The fixer could not determine any action that could repair the PDF/A. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns the enum constant of this class with the specified name.static MetadataFixerResult.RepairStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Metadata repair was carried out successfully. -
FIX_ERROR
Metadata repair was attempted but failed. -
WONT_FIX
The fixer could not determine any action that could repair the PDF/A. -
NO_ACTION
No action was taken because the file is already valid -
ID_REMOVED
-
-
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
-
toString
- Overrides:
toString
in classEnum<MetadataFixerResult.RepairStatus>
-