Enum Class VersionHistoryHelper.RemoveHistoryResult
java.lang.Object
java.lang.Enum<VersionHistoryHelper.RemoveHistoryResult>
org.ametys.plugins.repositoryapp.jcr.VersionHistoryHelper.RemoveHistoryResult
- All Implemented Interfaces:
Serializable
,Comparable<VersionHistoryHelper.RemoveHistoryResult>
,java.lang.constant.Constable
- Enclosing class:
VersionHistoryHelper
public static enum VersionHistoryHelper.RemoveHistoryResult
extends Enum<VersionHistoryHelper.RemoveHistoryResult>
Result of a remove version history operation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn error occurred preventing the removalThe version history was broken and has been removedThe version history is still referenced and could not be removedThe version history has been removedThe version history is broken but could not be removed -
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
-
REMOVED
The version history has been removed -
REFERENCED
The version history is still referenced and could not be removed -
ERROR
An error occurred preventing the removal -
FIXED
The version history was broken and has been removed -
UNFIXABLE
The version history is broken but could not be removed
-
-
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
-