Class GenerateCookieCommand
- java.lang.Object
-
- org.apache.bookkeeper.tools.framework.CliCommand<BKFlags,CommandFlagsT>
-
- org.apache.bookkeeper.tools.common.BKCommand<CookieFlagsT>
-
- org.apache.bookkeeper.tools.cli.commands.cookie.CookieCommand<GenerateCookieCommand.Flags>
-
- org.apache.bookkeeper.tools.cli.commands.cookie.GenerateCookieCommand
-
public class GenerateCookieCommand extends CookieCommand<GenerateCookieCommand.Flags>
A command that generate cookie.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GenerateCookieCommand.Flags
Flags to generate a cookie for a given bookie.
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description GenerateCookieCommand()
GenerateCookieCommand(java.io.PrintStream console)
GenerateCookieCommand(GenerateCookieCommand.Flags flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
apply(RegistrationManager rm, GenerateCookieCommand.Flags cmdFlags)
-
Methods inherited from class org.apache.bookkeeper.tools.cli.commands.cookie.CookieCommand
apply, asShellCommand, getBookieId, readCookieDataFromFile
-
Methods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, apply
-
Methods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage
-
-
-
-
Constructor Detail
-
GenerateCookieCommand
public GenerateCookieCommand()
-
GenerateCookieCommand
GenerateCookieCommand(java.io.PrintStream console)
-
GenerateCookieCommand
public GenerateCookieCommand(GenerateCookieCommand.Flags flags)
-
-
Method Detail
-
apply
protected void apply(RegistrationManager rm, GenerateCookieCommand.Flags cmdFlags) throws java.lang.Exception
- Specified by:
apply
in classCookieCommand<GenerateCookieCommand.Flags>
- Throws:
java.lang.Exception
-
-