Package io.permazen.cli.cmd
Class SetSchemaRemovalCommand
java.lang.Object
io.permazen.cli.cmd.AbstractCommand
io.permazen.cli.cmd.SetSchemaRemovalCommand
- All Implemented Interfaces:
Command
-
Field Summary
Fields inherited from class io.permazen.cli.cmd.AbstractCommand
log, name, paramParser
-
Constructor Summary
-
Method Summary
Methods inherited from class io.permazen.cli.cmd.AbstractCommand
execute, getHelpDetail, getName, getSessionModes, getUsage
-
Constructor Details
-
SetSchemaRemovalCommand
public SetSchemaRemovalCommand()
-
-
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
-
getParser
Description copied from class:AbstractCommand
Convert parameter spec type name into aParser
. Used for custom type names not supported byParamParser
.The implementation in
AbstractCommand
supports allEncoding
s registered with the database, plus:objid
for an object ID of the form64e8f29755302fe1
(returnsObjId
)
- Overrides:
getParser
in classAbstractCommand
- Parameters:
typeName
- parameter encoding ID or encoding ID alias- Returns:
- parser for parameters of the specified type
-
getAction
Description copied from class:AbstractCommand
Process command line parameters and return action.- Specified by:
getAction
in classAbstractCommand
- Parameters:
session0
- CLI sessionparams
- parsed parameters indexed by name- Returns:
- action to perform for the parsed command
-