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:
java.io.Serializable,java.lang.Comparable<PageModification.ModificationType>
- Enclosing class:
- PageModification
public static enum PageModification.ModificationType extends java.lang.Enum<PageModification.ModificationType>
The modification type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATEDpage was createdDELETEDpage was deletedINVALIDpage became invalid (onff time reached)MODIFIEDpage was modifiedMOVEDpage was movedRESTOREDpage was restoredROLLEDOUTpage rolled outVALIDpage became valid (on time reached)VERSION_CREATEDpage was versioned
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PageModification.ModificationTypefromName(java.lang.String n)java.lang.StringtoString()static PageModification.ModificationTypevalueOf(java.lang.String name)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.
-
-
-
Enum Constant Detail
-
CREATED
public static final PageModification.ModificationType CREATED
page was created
-
MODIFIED
public static final PageModification.ModificationType MODIFIED
page was modified
-
MOVED
public static final PageModification.ModificationType MOVED
page was moved
-
DELETED
public static final PageModification.ModificationType DELETED
page was deleted
-
VERSION_CREATED
public static final PageModification.ModificationType VERSION_CREATED
page was versioned
-
RESTORED
public static final PageModification.ModificationType RESTORED
page was restored
-
ROLLEDOUT
public static final PageModification.ModificationType ROLLEDOUT
page rolled out
-
VALID
public static final PageModification.ModificationType VALID
page became valid (on time reached)
-
INVALID
public static final PageModification.ModificationType INVALID
page became invalid (onff time reached)
-
-
Method Detail
-
values
public static PageModification.ModificationType[] 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 (PageModification.ModificationType c : PageModification.ModificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageModification.ModificationType 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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<PageModification.ModificationType>- See Also:
Enum.toString()
-
fromName
public static PageModification.ModificationType fromName(java.lang.String n)
-
-