Package com.atlassian.confluence.spaces
Enum SpaceUpdateTrigger
- java.lang.Object
-
- java.lang.Enum<SpaceUpdateTrigger>
-
- com.atlassian.confluence.spaces.SpaceUpdateTrigger
-
- All Implemented Interfaces:
Serializable
,Comparable<SpaceUpdateTrigger>
public enum SpaceUpdateTrigger extends Enum<SpaceUpdateTrigger>
Listing of the triggers for various space update events- Since:
- 7.5
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_ADMIN_USER_ADDED
GROUP_REMOVED
SPACE_CREATED
SPACE_REMOVED
UNKNOWN
USER_REMOVED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpaceUpdateTrigger
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpaceUpdateTrigger[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_ADMIN_USER_ADDED
public static final SpaceUpdateTrigger DEFAULT_ADMIN_USER_ADDED
-
USER_REMOVED
public static final SpaceUpdateTrigger USER_REMOVED
-
GROUP_REMOVED
public static final SpaceUpdateTrigger GROUP_REMOVED
-
SPACE_CREATED
public static final SpaceUpdateTrigger SPACE_CREATED
-
SPACE_REMOVED
public static final SpaceUpdateTrigger SPACE_REMOVED
-
UNKNOWN
public static final SpaceUpdateTrigger UNKNOWN
-
-
Method Detail
-
values
public static SpaceUpdateTrigger[] 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 (SpaceUpdateTrigger c : SpaceUpdateTrigger.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpaceUpdateTrigger 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
-
-