Class ReadLedgerCommand.ReadLedgerFlags
- java.lang.Object
-
- org.apache.bookkeeper.tools.framework.CliFlags
-
- org.apache.bookkeeper.tools.cli.commands.bookie.ReadLedgerCommand.ReadLedgerFlags
-
- Enclosing class:
- ReadLedgerCommand
public static class ReadLedgerCommand.ReadLedgerFlags extends CliFlags
Flags for read ledger command.
-
-
Constructor Summary
Constructors Constructor Description ReadLedgerFlags()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadLedgerCommand.ReadLedgerFlagsbookieAddress(java.lang.String bookieAddress)ReadLedgerCommand.ReadLedgerFlagsentryFormatter(java.lang.String entryFormatter)ReadLedgerCommand.ReadLedgerFlagsfirstEntryId(long firstEntryId)ReadLedgerCommand.ReadLedgerFlagsforceRecovery(boolean forceRecovery)ReadLedgerCommand.ReadLedgerFlagslastEntryId(long lastEntryId)ReadLedgerCommand.ReadLedgerFlagsledgerId(long ledgerId)ReadLedgerCommand.ReadLedgerFlagsledgerIdFormatter(java.lang.String ledgerIdFormatter)ReadLedgerCommand.ReadLedgerFlagsmsg(boolean msg)
-
-
-
Method Detail
-
msg
public ReadLedgerCommand.ReadLedgerFlags msg(boolean msg)
- Returns:
this.
-
ledgerId
public ReadLedgerCommand.ReadLedgerFlags ledgerId(long ledgerId)
- Returns:
this.
-
firstEntryId
public ReadLedgerCommand.ReadLedgerFlags firstEntryId(long firstEntryId)
- Returns:
this.
-
lastEntryId
public ReadLedgerCommand.ReadLedgerFlags lastEntryId(long lastEntryId)
- Returns:
this.
-
forceRecovery
public ReadLedgerCommand.ReadLedgerFlags forceRecovery(boolean forceRecovery)
- Returns:
this.
-
bookieAddress
public ReadLedgerCommand.ReadLedgerFlags bookieAddress(java.lang.String bookieAddress)
- Returns:
this.
-
ledgerIdFormatter
public ReadLedgerCommand.ReadLedgerFlags ledgerIdFormatter(java.lang.String ledgerIdFormatter)
- Returns:
this.
-
entryFormatter
public ReadLedgerCommand.ReadLedgerFlags entryFormatter(java.lang.String entryFormatter)
- Returns:
this.
-
-