Enum Class WebOperations
- All Implemented Interfaces:
Serializable,Comparable<WebOperations>,Constable
Defines operations supported by the EventServiceRegistryServlet.
- Version:
- $Id: $Id
- Author:
- lrosenberg
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdds a consumer to the registry.Adds a supplier to the registry.Returns info for a channel.Returns the list of channels.Notifies that a consumer became unavailable.Notifies that a supplier became unavailable.Resets the registry. -
Method Summary
Modifier and TypeMethodDescriptiontoWeb()Returns the presentation of the constant as it's used in the web.static WebOperationsReturns the enum constant of this class with the specified name.static WebOperations[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD_CONSUMER
Adds a consumer to the registry. -
ADD_SUPPLIER
Adds a supplier to the registry. -
NOTIFY_CONSUMER
Notifies that a consumer became unavailable. -
NOTIFY_SUPPLIER
Notifies that a supplier became unavailable. -
LIST
Returns the list of channels. -
RESET
Resets the registry. -
CHANNEL_INFO
Returns info for a channel.
-
-
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
-
toWeb
Returns the presentation of the constant as it's used in the web.- Returns:
- the lowercase of the string value.
-