Package org.verapdf.pdfa.results
Enum MetadataFixerResult.RepairStatus
- java.lang.Object
-
- java.lang.Enum<MetadataFixerResult.RepairStatus>
-
- org.verapdf.pdfa.results.MetadataFixerResult.RepairStatus
-
- All Implemented Interfaces:
Serializable,Comparable<MetadataFixerResult.RepairStatus>
- Enclosing interface:
- MetadataFixerResult
public static enum MetadataFixerResult.RepairStatus extends Enum<MetadataFixerResult.RepairStatus>
Enumeration that indicates the status of a metadata repair task.- Author:
- Carl Wilson
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIX_ERRORMetadata repair was attempted but failed.ID_REMOVEDNO_ACTIONNo action was taken because the file is already validSUCCESSMetadata repair was carried out successfully.WONT_FIXThe fixer could not determine any action that could repair the PDF/A.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static MetadataFixerResult.RepairStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static MetadataFixerResult.RepairStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final MetadataFixerResult.RepairStatus SUCCESS
Metadata repair was carried out successfully.
-
FIX_ERROR
public static final MetadataFixerResult.RepairStatus FIX_ERROR
Metadata repair was attempted but failed.
-
WONT_FIX
public static final MetadataFixerResult.RepairStatus WONT_FIX
The fixer could not determine any action that could repair the PDF/A.
-
NO_ACTION
public static final MetadataFixerResult.RepairStatus NO_ACTION
No action was taken because the file is already valid
-
ID_REMOVED
public static final MetadataFixerResult.RepairStatus ID_REMOVED
-
-
Method Detail
-
values
public static MetadataFixerResult.RepairStatus[] 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 (MetadataFixerResult.RepairStatus c : MetadataFixerResult.RepairStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetadataFixerResult.RepairStatus 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<MetadataFixerResult.RepairStatus>
-
-