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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFailure to clean up a binary is logged, but the URL is discarded for good i.e.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 Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
-