Enum Class MetricsCollector.NotificationSessionOutcome
java.lang.Object
java.lang.Enum<MetricsCollector.NotificationSessionOutcome>
com.pyranid.MetricsCollector.NotificationSessionOutcome
- All Implemented Interfaces:
Serializable, Comparable<MetricsCollector.NotificationSessionOutcome>, Constable
- Enclosing interface:
MetricsCollector
public static enum MetricsCollector.NotificationSessionOutcome
extends Enum<MetricsCollector.NotificationSessionOutcome>
Terminal outcome for an opened notification session.
- Since:
- 4.6.0
- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe application callback returned and notification-session cleanup completed normally.Setup after opening, notification receive, application callback, or cleanup failed.Cooperative interruption ended the notification session and cleanup completed normally. -
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.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CALLBACK_RETURNED
The application callback returned and notification-session cleanup completed normally. -
INTERRUPTED
Cooperative interruption ended the notification session and cleanup completed normally. -
FAILED
Setup after opening, notification receive, application callback, or cleanup failed.
-
-
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
-