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