Package org.apache.zookeeper.cli
Enum CommandFactory.Command
- java.lang.Object
- 
- java.lang.Enum<CommandFactory.Command>
- 
- org.apache.zookeeper.cli.CommandFactory.Command
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<CommandFactory.Command>
 - Enclosing class:
- CommandFactory
 
 public static enum CommandFactory.Command extends Enum<CommandFactory.Command> All Cli Commands.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ADD_AUTHADD_WATCHCLOSECREATEDEL_QUOTADELETEDELETE_ALLGETGET_ACLGET_ALL_CHILDREN_NUMBERGET_CONFIGGET_EPHEMERALSLIST_QUOTALSRECONFIGREMOVE_WATCHESSETSET_ACLSET_QUOTASTATSYNCVERSIONWHO_AM_I
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandFactory.CommandvalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
CLOSEpublic static final CommandFactory.Command CLOSE 
 - 
CREATEpublic static final CommandFactory.Command CREATE 
 - 
DELETEpublic static final CommandFactory.Command DELETE 
 - 
DELETE_ALLpublic static final CommandFactory.Command DELETE_ALL 
 - 
SETpublic static final CommandFactory.Command SET 
 - 
GETpublic static final CommandFactory.Command GET 
 - 
LSpublic static final CommandFactory.Command LS 
 - 
GET_ACLpublic static final CommandFactory.Command GET_ACL 
 - 
SET_ACLpublic static final CommandFactory.Command SET_ACL 
 - 
STATpublic static final CommandFactory.Command STAT 
 - 
SYNCpublic static final CommandFactory.Command SYNC 
 - 
SET_QUOTApublic static final CommandFactory.Command SET_QUOTA 
 - 
LIST_QUOTApublic static final CommandFactory.Command LIST_QUOTA 
 - 
DEL_QUOTApublic static final CommandFactory.Command DEL_QUOTA 
 - 
ADD_AUTHpublic static final CommandFactory.Command ADD_AUTH 
 - 
RECONFIGpublic static final CommandFactory.Command RECONFIG 
 - 
GET_CONFIGpublic static final CommandFactory.Command GET_CONFIG 
 - 
REMOVE_WATCHESpublic static final CommandFactory.Command REMOVE_WATCHES 
 - 
GET_EPHEMERALSpublic static final CommandFactory.Command GET_EPHEMERALS 
 - 
GET_ALL_CHILDREN_NUMBERpublic static final CommandFactory.Command GET_ALL_CHILDREN_NUMBER 
 - 
VERSIONpublic static final CommandFactory.Command VERSION 
 - 
ADD_WATCHpublic static final CommandFactory.Command ADD_WATCH 
 - 
WHO_AM_Ipublic static final CommandFactory.Command WHO_AM_I 
 
- 
 - 
Method Detail- 
valuespublic static CommandFactory.Command[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CommandFactory.Command c : CommandFactory.Command.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static CommandFactory.Command valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
- 
 
-