Package org.apache.zookeeper.cli
Class GetEphemeralsCommand
- java.lang.Object
-
- org.apache.zookeeper.cli.CliCommand
-
- org.apache.zookeeper.cli.GetEphemeralsCommand
-
public class GetEphemeralsCommand extends CliCommand
getEphemerals command for CLI
-
-
Field Summary
-
Fields inherited from class org.apache.zookeeper.cli.CliCommand
err, out, zk
-
-
Constructor Summary
Constructors Constructor Description GetEphemeralsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exec()
CliCommand
parse(String[] cmdArgs)
parse the command arguments-
Methods inherited from class org.apache.zookeeper.cli.CliCommand
addToMap, getCmdStr, getOptionStr, getUsageStr, setErr, setOut, setZk
-
-
-
-
Method Detail
-
parse
public CliCommand parse(String[] cmdArgs) throws CliParseException
Description copied from class:CliCommand
parse the command arguments- Specified by:
parse
in classCliCommand
- Returns:
- this CliCommand
- Throws:
CliParseException
-
exec
public boolean exec() throws CliException
- Specified by:
exec
in classCliCommand
- Returns:
- true if command has watch option, false otherwise
- Throws:
CliException
-
-