Package io.permazen.kv.raft.cmd
Class RaftAddCommand
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.RaftAddCommand
- All Implemented Interfaces:
Command
-
Nested Class Summary
Nested classes/interfaces inherited from class io.permazen.kv.raft.cmd.AbstractTransactionRaftCommand
AbstractTransactionRaftCommand.RaftTransactionActionNested 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
Constructors -
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
getSessionModesMethods inherited from class io.permazen.cli.cmd.AbstractCommand
execute, getName, getParser, getUsage
-
Constructor Details
-
RaftAddCommand
public RaftAddCommand()
-
-
Method Details
-
getHelpSummary
Description copied from class:AbstractCommandGet summarized help (typically a single line).- Specified by:
getHelpSummaryin interfaceCommand- Specified by:
getHelpSummaryin classAbstractCommand- Returns:
- one line command summary
-
getHelpDetail
Description copied from class:AbstractCommandGet expanded help (typically multiple lines).The implementation in
AbstractCommanddelegates togetHelpSummary().- Specified by:
getHelpDetailin interfaceCommand- Overrides:
getHelpDetailin classAbstractCommand- Returns:
- detailed command description
-
getAction
Description copied from class:AbstractCommandProcess command line parameters and return action.- Specified by:
getActionin classAbstractCommand- Parameters:
session- CLI sessionparams- parsed parameters indexed by name- Returns:
- action to perform for the parsed command
-