Enum Class NotificationSendingStrategyType
java.lang.Object
java.lang.Enum<NotificationSendingStrategyType>
com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationSendingStrategyType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<NotificationSendingStrategyType>
,Constable
public enum NotificationSendingStrategyType
extends Enum<NotificationSendingStrategyType>
implements TypeSafeEnum
Defines how the notification should be generated and sent.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA notification message is generated once, and sent to all the recipients in the same form.A notification message is generated and sent to every recipient separately, taking individual recipient settings (e.g., locale) into account. -
Method Summary
Modifier and TypeMethodDescriptionvalue()
Returns enum value defined as in schema.Returns the enum constant of this class with the specified name.static NotificationSendingStrategyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SAME_NOTIFICATION_TO_ALL_RECIPIENTS
A notification message is generated once, and sent to all the recipients in the same form. This strategy doesn't allow customizing the message (e.g., taking locale settings into account) for individual recipients. -
SEPARATE_NOTIFICATION_TO_EACH_RECIPIENT
A notification message is generated and sent to every recipient separately, taking individual recipient settings (e.g., locale) into account.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-