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.ReadLedgerFlags
bookieAddress(java.lang.String bookieAddress)
ReadLedgerCommand.ReadLedgerFlags
entryFormatter(java.lang.String entryFormatter)
ReadLedgerCommand.ReadLedgerFlags
firstEntryId(long firstEntryId)
ReadLedgerCommand.ReadLedgerFlags
forceRecovery(boolean forceRecovery)
ReadLedgerCommand.ReadLedgerFlags
lastEntryId(long lastEntryId)
ReadLedgerCommand.ReadLedgerFlags
ledgerId(long ledgerId)
ReadLedgerCommand.ReadLedgerFlags
ledgerIdFormatter(java.lang.String ledgerIdFormatter)
ReadLedgerCommand.ReadLedgerFlags
msg(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
.
-
-