Package io.permazen.kv.raft.cmd
Class RaftRemoveCommand
java.lang.Object
io.permazen.cli.cmd.AbstractCommand
io.permazen.kv.raft.cmd.AbstractRaftCommand
io.permazen.kv.raft.cmd.AbstractTransactionRaftCommand
io.permazen.kv.raft.cmd.RaftRemoveCommand
- All Implemented Interfaces:
Command
-
Nested Class Summary
Nested classes/interfaces inherited from class io.permazen.kv.raft.cmd.AbstractTransactionRaftCommand
AbstractTransactionRaftCommand.RaftTransactionAction
Nested classes/interfaces inherited from class io.permazen.kv.raft.cmd.AbstractRaftCommand
AbstractRaftCommand.RaftAction
-
Field Summary
Fields inherited from class io.permazen.cli.cmd.AbstractCommand
log, name, paramParser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionProcess command line parameters and return action.Get expanded help (typically multiple lines).Get summarized help (typically a single line).Methods inherited from class io.permazen.kv.raft.cmd.AbstractRaftCommand
getSessionModes
Methods inherited from class io.permazen.cli.cmd.AbstractCommand
execute, getName, getParser, getUsage
-
Constructor Details
-
RaftRemoveCommand
public RaftRemoveCommand()
-
-
Method Details
-
getHelpSummary
Description copied from class:AbstractCommand
Get summarized help (typically a single line).- Specified by:
getHelpSummary
in interfaceCommand
- Specified by:
getHelpSummary
in classAbstractCommand
- Returns:
- one line command summary
-
getHelpDetail
Description copied from class:AbstractCommand
Get expanded help (typically multiple lines).The implementation in
AbstractCommand
delegates togetHelpSummary()
.- Specified by:
getHelpDetail
in interfaceCommand
- Overrides:
getHelpDetail
in classAbstractCommand
- Returns:
- detailed command description
-
getAction
Description copied from class:AbstractCommand
Process command line parameters and return action.- Specified by:
getAction
in classAbstractCommand
- Parameters:
session
- CLI sessionparams
- parsed parameters indexed by name- Returns:
- action to perform for the parsed command
-