Enum UserSetting.FREQUENCY
- java.lang.Object
-
- java.lang.Enum<UserSetting.FREQUENCY>
-
- org.exoplatform.commons.api.notification.model.UserSetting.FREQUENCY
-
- All Implemented Interfaces:
Serializable,Comparable<UserSetting.FREQUENCY>
- Enclosing class:
- UserSetting
public static enum UserSetting.FREQUENCY extends Enum<UserSetting.FREQUENCY>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserSetting.FREQUENCYgetFrequecy(String name)static UserSetting.FREQUENCYvalueOf(String name)Returns the enum constant of this type with the specified name.static UserSetting.FREQUENCY[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANTLY
public static final UserSetting.FREQUENCY INSTANTLY
-
DAILY
public static final UserSetting.FREQUENCY DAILY
-
WEEKLY
public static final UserSetting.FREQUENCY WEEKLY
-
-
Method Detail
-
values
public static UserSetting.FREQUENCY[] 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 (UserSetting.FREQUENCY c : UserSetting.FREQUENCY.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserSetting.FREQUENCY 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
-
getFrequecy
public static UserSetting.FREQUENCY getFrequecy(String name)
-
-