Enum NotificationMessageType
- java.lang.Object
-
- java.lang.Enum<NotificationMessageType>
-
- org.craftercms.studio.api.v2.service.notification.NotificationMessageType
-
- All Implemented Interfaces:
Serializable
,Comparable<NotificationMessageType>
public enum NotificationMessageType extends Enum<NotificationMessageType>
Describe the types of notifications available.- Author:
- Carlos Ortiz.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CannedMessages
Describes messages of why content are been rejected.CompleteMessages
Messages show on workflow dialogs.EmailMessage
Notification Email type.GeneralMessages
Other General Messages.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NotificationMessageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static NotificationMessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CannedMessages
public static final NotificationMessageType CannedMessages
Describes messages of why content are been rejected.
-
CompleteMessages
public static final NotificationMessageType CompleteMessages
Messages show on workflow dialogs.
-
EmailMessage
public static final NotificationMessageType EmailMessage
Notification Email type.
-
GeneralMessages
public static final NotificationMessageType GeneralMessages
Other General Messages.
-
-
Method Detail
-
values
public static NotificationMessageType[] 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 (NotificationMessageType c : NotificationMessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NotificationMessageType 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
-
-