Package io.permazen.kv.raft.cmd
Class RaftFallbackForceStandaloneCommand
java.lang.Object
io.permazen.cli.cmd.AbstractCommand
io.permazen.kv.raft.cmd.RaftFallbackForceStandaloneCommand
- All Implemented Interfaces:
Command
-
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 summarized help (typically a single line).Get theSessionMode(s) supported by this command.Methods inherited from class io.permazen.cli.cmd.AbstractCommand
execute, getHelpDetail, getName, getParser, getUsage
-
Constructor Details
-
RaftFallbackForceStandaloneCommand
public RaftFallbackForceStandaloneCommand()
-
-
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
-
getSessionModes
Description copied from class:AbstractCommandGet theSessionMode(s) supported by this command.The implementation in
AbstractCommandreturns anEnumSetcontainingSessionMode.CORE_APIandSessionMode.PERMAZEN.- Specified by:
getSessionModesin interfaceCommand- Overrides:
getSessionModesin classAbstractCommand- Returns:
- set of supported
SessionModes
-
getAction
Description copied from class:AbstractCommandProcess command line parameters and return action.- Specified by:
getActionin classAbstractCommand- Parameters:
session0- CLI sessionparams- parsed parameters indexed by name- Returns:
- action to perform for the parsed command
-