Class GetCookieCommand
- 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<GetCookieCommand.Flags>
-
- org.apache.bookkeeper.tools.cli.commands.cookie.GetCookieCommand
-
public class GetCookieCommand extends CookieCommand<GetCookieCommand.Flags>
A command that deletes cookie.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetCookieCommand.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 GetCookieCommand()
GetCookieCommand(java.io.PrintStream console)
GetCookieCommand(GetCookieCommand.Flags flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
apply(RegistrationManager rm, GetCookieCommand.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
-
GetCookieCommand
public GetCookieCommand()
-
GetCookieCommand
GetCookieCommand(java.io.PrintStream console)
-
GetCookieCommand
public GetCookieCommand(GetCookieCommand.Flags flags)
-
-
Method Detail
-
apply
protected void apply(RegistrationManager rm, GetCookieCommand.Flags cmdFlags) throws java.lang.Exception
- Specified by:
apply
in classCookieCommand<GetCookieCommand.Flags>
- Throws:
java.lang.Exception
-
-