public static enum Authorizer.Operation extends Enum<Authorizer.Operation>
Enum Constant and Description |
---|
CREATE
The operation to create a channel that does not exist
|
PUBLISH
The operation to publish messages to a channel
|
SUBSCRIBE
The operation to subscribe to a channel to receive messages published to it
|
Modifier and Type | Method and Description |
---|---|
static Authorizer.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Authorizer.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Authorizer.Operation CREATE
public static final Authorizer.Operation SUBSCRIBE
public static final Authorizer.Operation PUBLISH
public static Authorizer.Operation[] values()
for (Authorizer.Operation c : Authorizer.Operation.values()) System.out.println(c);
public static Authorizer.Operation 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 nullCopyright © 2008–2024 The CometD Project. All rights reserved.