Package org.nuxeo.ecm.core.api.trash
Enum Class TrashService.Feature
- All Implemented Interfaces:
Serializable
,Comparable<TrashService.Feature>
,Constable
- Enclosing interface:
- TrashService
Features of the implementation of the service.
- Since:
- 10.1
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTrashed state currently in migration.Trashed state is a dedicated property.Trashed state is deduced from lifeCycle. -
Method Summary
Modifier and TypeMethodDescriptionstatic TrashService.Feature
Returns the enum constant of this class with the specified name.static TrashService.Feature[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRASHED_STATE_IS_DEDUCED_FROM_LIFECYCLE
Trashed state is deduced from lifeCycle. -
TRASHED_STATE_IN_MIGRATION
Trashed state currently in migration. -
TRASHED_STATE_IS_DEDICATED_PROPERTY
Trashed state is a dedicated property.
-
-
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
-