Enum Class ContentStoreCleaner.DeleteFailureAction

java.lang.Object
java.lang.Enum<ContentStoreCleaner.DeleteFailureAction>
org.alfresco.repo.content.cleanup.ContentStoreCleaner.DeleteFailureAction
All Implemented Interfaces:
Serializable, Comparable<ContentStoreCleaner.DeleteFailureAction>, Constable
Enclosing class:
ContentStoreCleaner

public static enum ContentStoreCleaner.DeleteFailureAction extends Enum<ContentStoreCleaner.DeleteFailureAction>
Enumeration of actions to take in the even that an orphaned binary fails to get deleted. Most stores are able to delete orphaned content, but it is possible that stores have protection against binary deletion that is outside of the Alfresco server's control.
Since:
3.3.5
Author:
Derek Hulley
  • Enum Constant Details

    • IGNORE

      public static final ContentStoreCleaner.DeleteFailureAction IGNORE
      Failure to clean up a binary is logged, but the URL is discarded for good i.e. there will be no further attempt to clean up the binary or any remaining record of its existence.
    • KEEP_URL

      public static final ContentStoreCleaner.DeleteFailureAction KEEP_URL
      Failure to clean up the binary is logged and then a URL record is created with a orphan time of 0; there will be no further attempts to delete the URL binary, but the record will also not be destroyed.
  • Method Details

    • values

      public static ContentStoreCleaner.DeleteFailureAction[] 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

      public static ContentStoreCleaner.DeleteFailureAction valueOf(String name)
      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 name
      NullPointerException - if the argument is null