Enum Class NotificationProcessingException.Reason
java.lang.Object
java.lang.Enum<NotificationProcessingException.Reason>
org.openremote.manager.notification.NotificationProcessingException.Reason
- All Implemented Interfaces:
Serializable,Comparable<NotificationProcessingException.Reason>,Constable
- Enclosing class:
NotificationProcessingException
public static enum NotificationProcessingException.Reason
extends Enum<NotificationProcessingException.Reason>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn error occurred whilst trying to map target IDs to actual targets.The actioner doesn't have sufficient access to send notifications to one or more specified targets.The message is deemed to be invalid as determined byNotificationHandler.isMessageValid(org.openremote.model.notification.AbstractNotificationMessage).MissingAbstractNotificationMessage.MissingNotification.MissingNotification.Source.MissingNotification.Target.NotificationHandler.isValid()returned false indicating a configuration error with the handler.NotificationHandlerfailed to return any results.TheAbstractNotificationMessagetype is not supported. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MISSING_SOURCE
MissingNotification.Source. -
MISSING_NOTIFICATION
MissingNotification. -
MISSING_CONTENT
MissingAbstractNotificationMessage. -
MISSING_TARGETS
MissingNotification.Target. -
UNSUPPORTED_MESSAGE_TYPE
TheAbstractNotificationMessagetype is not supported. -
INSUFFICIENT_ACCESS
The actioner doesn't have sufficient access to send notifications to one or more specified targets. -
INVALID_MESSAGE
The message is deemed to be invalid as determined byNotificationHandler.isMessageValid(org.openremote.model.notification.AbstractNotificationMessage). -
ERROR_TARGET_MAPPING
An error occurred whilst trying to map target IDs to actual targets. -
SEND_FAILURE
NotificationHandlerfailed to return any results. -
NOTIFICATION_HANDLER_CONFIG_ERROR
NotificationHandler.isValid()returned false indicating a configuration error with the handler.
-
-
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
-