Class UpdateCookieCommand
- 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<UpdateCookieCommand.Flags>
-
- org.apache.bookkeeper.tools.cli.commands.cookie.UpdateCookieCommand
-
public class UpdateCookieCommand extends CookieCommand<UpdateCookieCommand.Flags>
A command that updates cookie.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateCookieCommand.Flags
Flags to create a cookie for a given bookie.
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description UpdateCookieCommand()
UpdateCookieCommand(java.io.PrintStream console)
UpdateCookieCommand(UpdateCookieCommand.Flags flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
apply(RegistrationManager rm, UpdateCookieCommand.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
-
UpdateCookieCommand
public UpdateCookieCommand()
-
UpdateCookieCommand
UpdateCookieCommand(java.io.PrintStream console)
-
UpdateCookieCommand
public UpdateCookieCommand(UpdateCookieCommand.Flags flags)
-
-
Method Detail
-
apply
protected void apply(RegistrationManager rm, UpdateCookieCommand.Flags cmdFlags) throws java.lang.Exception
- Specified by:
apply
in classCookieCommand<UpdateCookieCommand.Flags>
- Throws:
java.lang.Exception
-
-