public static enum CommandFactory.Command extends Enum<CommandFactory.Command>
Enum Constant and Description |
---|
ADD_AUTH |
ADD_WATCH |
CLOSE |
CREATE |
DEL_QUOTA |
DELETE |
DELETE_ALL |
GET |
GET_ACL |
GET_ALL_CHILDREN_NUMBER |
GET_CONFIG |
GET_EPHEMERALS |
LIST_QUOTA |
LS |
RECONFIG |
REMOVE_WATCHES |
SET |
SET_ACL |
SET_QUOTA |
STAT |
SYNC |
VERSION |
WHO_AM_I |
Modifier and Type | Method and Description |
---|---|
static CommandFactory.Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandFactory.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandFactory.Command CLOSE
public static final CommandFactory.Command CREATE
public static final CommandFactory.Command DELETE
public static final CommandFactory.Command DELETE_ALL
public static final CommandFactory.Command SET
public static final CommandFactory.Command GET
public static final CommandFactory.Command LS
public static final CommandFactory.Command GET_ACL
public static final CommandFactory.Command SET_ACL
public static final CommandFactory.Command STAT
public static final CommandFactory.Command SYNC
public static final CommandFactory.Command SET_QUOTA
public static final CommandFactory.Command LIST_QUOTA
public static final CommandFactory.Command DEL_QUOTA
public static final CommandFactory.Command ADD_AUTH
public static final CommandFactory.Command RECONFIG
public static final CommandFactory.Command GET_CONFIG
public static final CommandFactory.Command REMOVE_WATCHES
public static final CommandFactory.Command GET_EPHEMERALS
public static final CommandFactory.Command GET_ALL_CHILDREN_NUMBER
public static final CommandFactory.Command VERSION
public static final CommandFactory.Command ADD_WATCH
public static final CommandFactory.Command WHO_AM_I
public static CommandFactory.Command[] values()
for (CommandFactory.Command c : CommandFactory.Command.values()) System.out.println(c);
public static CommandFactory.Command 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–2022 The Apache Software Foundation. All rights reserved.