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
A command that generate cookie.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFlags to generate a cookie for a given bookie. -
Field Summary
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(RegistrationManager rm, GenerateCookieCommand.Flags cmdFlags) Methods inherited from class org.apache.bookkeeper.tools.cli.commands.cookie.CookieCommand
apply, asShellCommand, getBookieId, readCookieDataFromFileMethods inherited from class org.apache.bookkeeper.tools.common.BKCommand
acceptServiceUri, apply, apply, applyMethods inherited from class org.apache.bookkeeper.tools.framework.CliCommand
category, description, getUsage, name, path, setParent, usage
-
Constructor Details
-
GenerateCookieCommand
public GenerateCookieCommand() -
GenerateCookieCommand
GenerateCookieCommand(PrintStream console) -
GenerateCookieCommand
-
-
Method Details
-
apply
- Specified by:
applyin classCookieCommand<GenerateCookieCommand.Flags>- Throws:
Exception
-