Enum ContentStoreCleaner.DeleteFailureAction
- java.lang.Object
-
- java.lang.Enum<ContentStoreCleaner.DeleteFailureAction>
-
- org.alfresco.repo.content.cleanup.ContentStoreCleaner.DeleteFailureAction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ContentStoreCleaner.DeleteFailureAction>
- Enclosing class:
- ContentStoreCleaner
public static enum ContentStoreCleaner.DeleteFailureAction extends java.lang.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 Summary
Enum Constants Enum Constant Description IGNOREFailure to clean up a binary is logged, but the URL is discarded for good i.e.KEEP_URLFailure 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContentStoreCleaner.DeleteFailureActionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ContentStoreCleaner.DeleteFailureAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static ContentStoreCleaner.DeleteFailureAction[] 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 (ContentStoreCleaner.DeleteFailureAction c : ContentStoreCleaner.DeleteFailureAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContentStoreCleaner.DeleteFailureAction valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-