Package com.day.cq.wcm.api
Enum PageModification.ModificationType
java.lang.Object
java.lang.Enum<PageModification.ModificationType>
com.day.cq.wcm.api.PageModification.ModificationType
- All Implemented Interfaces:
Serializable,Comparable<PageModification.ModificationType>,java.lang.constant.Constable
- Enclosing class:
PageModification
public static enum PageModification.ModificationType
extends Enum<PageModification.ModificationType>
The modification type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionpage was createdpage was deletedpage became invalid (onff time reached)page was modifiedpage was movedpage was restoredpage rolled outpage became valid (on time reached)page was versioned -
Method Summary
Modifier and TypeMethodDescriptiontoString()Returns the enum constant of this type with the specified name.static PageModification.ModificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
CREATED
page was created -
MODIFIED
page was modified -
MOVED
page was moved -
DELETED
page was deleted -
VERSION_CREATED
page was versioned -
RESTORED
page was restored -
ROLLEDOUT
page rolled out -
VALID
page became valid (on time reached) -
INVALID
page became invalid (onff time reached)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<PageModification.ModificationType>- See Also:
-
fromName
-