Package com.atlassian.confluence.pages
Enum PageDeleteTrigger
- java.lang.Object
-
- java.lang.Enum<PageDeleteTrigger>
-
- com.atlassian.confluence.pages.PageDeleteTrigger
-
- All Implemented Interfaces:
OperationTrigger
,Serializable
,Comparable<PageDeleteTrigger>
public enum PageDeleteTrigger extends Enum<PageDeleteTrigger> implements OperationTrigger
Used to specify how a page delete was triggered.- Since:
- 6.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BULK_OPERATION
DELETE_SINGLE
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageDeleteTrigger
valueOf(String name)
Returns the enum constant of this type with the specified name.static PageDeleteTrigger[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETE_SINGLE
public static final PageDeleteTrigger DELETE_SINGLE
-
BULK_OPERATION
public static final PageDeleteTrigger BULK_OPERATION
-
UNKNOWN
public static final PageDeleteTrigger UNKNOWN
-
-
Method Detail
-
values
public static PageDeleteTrigger[] 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 (PageDeleteTrigger c : PageDeleteTrigger.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageDeleteTrigger valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-