Enum AbstractNotificationsSettingsPage.AutowatchMode
- java.lang.Object
-
- java.lang.Enum<AbstractNotificationsSettingsPage.AutowatchMode>
-
- org.xwiki.platform.notifications.test.po.AbstractNotificationsSettingsPage.AutowatchMode
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractNotificationsSettingsPage.AutowatchMode>
- Enclosing class:
- AbstractNotificationsSettingsPage
@Unstable public static enum AbstractNotificationsSettingsPage.AutowatchMode extends Enum<AbstractNotificationsSettingsPage.AutowatchMode>
Represents the available autowatch mode values.- Since:
- 13.2RC1
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractNotificationsSettingsPage.AutowatchMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractNotificationsSettingsPage.AutowatchMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AbstractNotificationsSettingsPage.AutowatchMode NONE
Never autowatch.
-
ALL
public static final AbstractNotificationsSettingsPage.AutowatchMode ALL
Autowatch for any change.
-
MAJOR
public static final AbstractNotificationsSettingsPage.AutowatchMode MAJOR
Autowatch for major modifications.
-
NEW
public static final AbstractNotificationsSettingsPage.AutowatchMode NEW
Autowatch for created pages.
-
-
Method Detail
-
values
public static AbstractNotificationsSettingsPage.AutowatchMode[] 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 (AbstractNotificationsSettingsPage.AutowatchMode c : AbstractNotificationsSettingsPage.AutowatchMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractNotificationsSettingsPage.AutowatchMode 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
-
-