Class DeleteLedgerCommand
- java.lang.Object
-
- org.apache.bookkeeper.tools.framework.CliCommand<BKFlags,CommandFlagsT>
-
- org.apache.bookkeeper.tools.common.BKCommand<BookieFlagsT>
-
- org.apache.bookkeeper.tools.cli.helpers.BookieCommand<DeleteLedgerCommand.DeleteLedgerFlags>
-
- org.apache.bookkeeper.tools.cli.commands.client.DeleteLedgerCommand
-
public class DeleteLedgerCommand extends BookieCommand<DeleteLedgerCommand.DeleteLedgerFlags>
Command to delete a given ledger.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteLedgerCommand.DeleteLedgerFlags
Flags for delete ledger command.
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description DeleteLedgerCommand()
DeleteLedgerCommand(LedgerIdFormatter ledgerIdFormatter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, DeleteLedgerCommand.DeleteLedgerFlags cmdFlags)
-
Methods inherited from class org.apache.bookkeeper.tools.cli.helpers.BookieCommand
apply
-
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
-
DeleteLedgerCommand
public DeleteLedgerCommand()
-
DeleteLedgerCommand
public DeleteLedgerCommand(LedgerIdFormatter ledgerIdFormatter)
-
-
Method Detail
-
apply
public boolean apply(ServerConfiguration conf, DeleteLedgerCommand.DeleteLedgerFlags cmdFlags)
- Specified by:
apply
in classBookieCommand<DeleteLedgerCommand.DeleteLedgerFlags>
-
-