public enum WebOperations extends Enum<WebOperations>
Enum Constant and Description |
---|
ADD_CONSUMER
Adds a consumer to the registry.
|
ADD_SUPPLIER
Adds a supplier to the registry.
|
CHANNEL_INFO
Returns info for a channel.
|
LIST
Returns the list of channels.
|
NOTIFY_CONSUMER
Notifies that a consumer became unavailable.
|
NOTIFY_SUPPLIER
Notifies that a supplier became unavailable.
|
RESET
Resets the registry.
|
Modifier and Type | Method and Description |
---|---|
String |
toWeb()
Returns the presentation of the constant as it's used in the web.
|
static WebOperations |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebOperations[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebOperations ADD_CONSUMER
public static final WebOperations ADD_SUPPLIER
public static final WebOperations NOTIFY_CONSUMER
public static final WebOperations NOTIFY_SUPPLIER
public static final WebOperations LIST
public static final WebOperations RESET
public static final WebOperations CHANNEL_INFO
public static WebOperations[] values()
for (WebOperations c : WebOperations.values()) System.out.println(c);
public static WebOperations valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toWeb()
Copyright © 2010-2014 anotheria.net. All Rights Reserved.