Package org.cyclos.model.messaging
Enum MessagingSubmodule
- java.lang.Object
-
- java.lang.Enum<MessagingSubmodule>
-
- org.cyclos.model.messaging.MessagingSubmodule
-
- All Implemented Interfaces:
Serializable,Comparable<MessagingSubmodule>,PrefixedEnum,Submodule
public enum MessagingSubmodule extends Enum<MessagingSubmodule> implements Submodule
Submodules for theMESSAGESmodule
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALERTSSystem alerts, member alertsERROR_LOGSINVITEMAILING_LISTSMESSAGE_CATEGORIESMESSAGESNOTIFICATION_SETTINGSNOTIFICATIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Modulemodule()Returns the module for this submodulestatic MessagingSubmodulevalueOf(String name)Returns the enum constant of this type with the specified name.static MessagingSubmodule[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.cyclos.utils.PrefixedEnum
name
-
-
-
-
Enum Constant Detail
-
ALERTS
public static final MessagingSubmodule ALERTS
System alerts, member alerts
-
ERROR_LOGS
public static final MessagingSubmodule ERROR_LOGS
-
INVITE
public static final MessagingSubmodule INVITE
-
MESSAGES
public static final MessagingSubmodule MESSAGES
-
MESSAGE_CATEGORIES
public static final MessagingSubmodule MESSAGE_CATEGORIES
-
NOTIFICATIONS
public static final MessagingSubmodule NOTIFICATIONS
-
NOTIFICATION_SETTINGS
public static final MessagingSubmodule NOTIFICATION_SETTINGS
-
MAILING_LISTS
public static final MessagingSubmodule MAILING_LISTS
-
-
Method Detail
-
values
public static MessagingSubmodule[] 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 (MessagingSubmodule c : MessagingSubmodule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessagingSubmodule 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
-
-