/**
 * 
 */
package org.verapdf.pdfa;

import java.util.List;

/**
 * Holds the result of an attempt to repair PDF/A metadata by a
 * {@link MetadataFixer}.
 * 
 * @author <a href="mailto:carl@openpreservation.org">Carl Wilson</a>
 */
public interface MetadataFixerResult {
    /**
     * @return the {@link RepairStatus} for the fix task
     */
    RepairStatus getRepairStatus();

    /**
     * @return a List of Strings recording all fixes applies
     */
    List<String> getAppliedFixes();

    /**
     * Enumeration that indicates the status of a metadata repair task.
     * 
     * @author <a href="mailto:carl@openpreservation.org">Carl Wilson</a>
     */
    enum RepairStatus {
        /**
         * Metadata repair was carried out successfully.
         */
        SUCCESS("Success"),
        /**
         * Metadata repair was attempted but failed.
         */
        FIX_ERROR("Fix Error"),
        /**
         * The fixer could not determine any action that could repair the PDF/A.
         */
        WONT_FIX("Wont Fix"),
        /**
         * No action was taken because the file is already valid
         */
        NO_ACTION("No Action"),

		ID_REMOVED("ID Removed");

		private final String readableName;

		RepairStatus(String readableName) {
			this.readableName = readableName;
		}

		public String getReadableName() {
			return this.readableName;
		}
	}
}

@@ -1029,16 +1029,17 @@
 FIX(%22Won
+%60
 t Fix%22),

Fix mistake