Class LedgerMetaDataCommand
- 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<LedgerMetaDataCommand.LedgerMetadataFlag>
-
- org.apache.bookkeeper.tools.cli.commands.client.LedgerMetaDataCommand
-
public class LedgerMetaDataCommand extends BookieCommand<LedgerMetaDataCommand.LedgerMetadataFlag>
Print the metadata for a ledger.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LedgerMetaDataCommand.LedgerMetadataFlag
Flags for ledger metadata command.
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.tools.framework.CliCommand
spec
-
-
Constructor Summary
Constructors Constructor Description LedgerMetaDataCommand()
LedgerMetaDataCommand(LedgerMetaDataCommand.LedgerMetadataFlag flag)
LedgerMetaDataCommand(LedgerIdFormatter ledgerIdFormatter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(ServerConfiguration conf, LedgerMetaDataCommand.LedgerMetadataFlag 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
-
LedgerMetaDataCommand
public LedgerMetaDataCommand()
-
LedgerMetaDataCommand
public LedgerMetaDataCommand(LedgerIdFormatter ledgerIdFormatter)
-
LedgerMetaDataCommand
public LedgerMetaDataCommand(LedgerMetaDataCommand.LedgerMetadataFlag flag)
-
-
Method Detail
-
apply
public boolean apply(ServerConfiguration conf, LedgerMetaDataCommand.LedgerMetadataFlag cmdFlags)
- Specified by:
apply
in classBookieCommand<LedgerMetaDataCommand.LedgerMetadataFlag>
-
-