Package com.atlassian.confluence.pages
Enum PageUpdateTrigger
- java.lang.Object
-
- java.lang.Enum<PageUpdateTrigger>
-
- com.atlassian.confluence.pages.PageUpdateTrigger
-
- All Implemented Interfaces:
OperationTrigger
,Serializable
,Comparable<PageUpdateTrigger>
public enum PageUpdateTrigger extends Enum<PageUpdateTrigger> implements OperationTrigger
Used to specify how a page update was triggered.- Since:
- 4.3
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISCARD_CHANGES
EDIT_PAGE
LINK_REFACTORING
PAGE_RENAME
PERSONAL_TASKLIST
REVERT
SPACE_CREATE
UNKNOWN
VIEW_PAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
lowerCase()
static PageUpdateTrigger
valueOf(String name)
Returns the enum constant of this type with the specified name.static PageUpdateTrigger[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERSONAL_TASKLIST
public static final PageUpdateTrigger PERSONAL_TASKLIST
-
VIEW_PAGE
public static final PageUpdateTrigger VIEW_PAGE
-
EDIT_PAGE
public static final PageUpdateTrigger EDIT_PAGE
-
REVERT
public static final PageUpdateTrigger REVERT
-
DISCARD_CHANGES
public static final PageUpdateTrigger DISCARD_CHANGES
-
SPACE_CREATE
public static final PageUpdateTrigger SPACE_CREATE
-
PAGE_RENAME
public static final PageUpdateTrigger PAGE_RENAME
-
LINK_REFACTORING
public static final PageUpdateTrigger LINK_REFACTORING
-
UNKNOWN
public static final PageUpdateTrigger UNKNOWN
-
-
Method Detail
-
values
public static PageUpdateTrigger[] 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 (PageUpdateTrigger c : PageUpdateTrigger.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageUpdateTrigger 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
-
lowerCase
public String lowerCase()
-
-