Package org.apache.zookeeper.cli
Class AddAuthCommand
- java.lang.Object
- 
- org.apache.zookeeper.cli.CliCommand
- 
- org.apache.zookeeper.cli.AddAuthCommand
 
 
- 
 public class AddAuthCommand extends CliCommand addAuth command for cli
- 
- 
Field Summary- 
Fields inherited from class org.apache.zookeeper.cli.CliCommanderr, out, zk
 
- 
 - 
Constructor SummaryConstructors Constructor Description AddAuthCommand()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexec()CliCommandparse(String[] cmdArgs)parse the command arguments- 
Methods inherited from class org.apache.zookeeper.cli.CliCommandaddToMap, getCmdStr, getOptionStr, getUsageStr, setErr, setOut, setZk
 
- 
 
- 
- 
- 
Method Detail- 
parsepublic CliCommand parse(String[] cmdArgs) throws CliParseException Description copied from class:CliCommandparse the command arguments- Specified by:
- parsein class- CliCommand
- Returns:
- this CliCommand
- Throws:
- CliParseException
 
 - 
execpublic boolean exec() throws CliException- Specified by:
- execin class- CliCommand
- Returns:
- true if command has watch option, false otherwise
- Throws:
- CliException
 
 
- 
 
-