java.lang.Object
dev.metaschema.cli.processor.command.AbstractTerminalCommand
dev.metaschema.cli.commands.AbstractConvertSubcommand
- All Implemented Interfaces:
ICommand
- Direct Known Subclasses:
ConvertContentUsingModuleCommand
Used by implementing classes to provide a content conversion command.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classUsed by implementing classes to provide for execution of a conversion command. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.apache.commons.cli.Option>Used to gather options directly associated with this command.Get the non-option arguments.getName()Get the name of the command.Methods inherited from class dev.metaschema.cli.processor.command.AbstractTerminalCommand
getCurrentWorkingDirectory, resolveAgainstCWD, resolveAgainstCWD, resolveAgainstCWDMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.metaschema.cli.processor.command.ICommand
getDescription, getSubCommandByName, getSubCommands, isSubCommandRequired, newExecutor, validateExtraArguments, validateOptions
-
Constructor Details
-
AbstractConvertSubcommand
public AbstractConvertSubcommand()
-
-
Method Details
-
getName
Description copied from interface:ICommandGet the name of the command.This name is used to call the command as a command line argument.
- Returns:
- the command's name
-
gatherOptions
Description copied from interface:ICommandUsed to gather options directly associated with this command.- Returns:
- the options
-
getExtraArguments
Description copied from interface:ICommandGet the non-option arguments.- Returns:
- the arguments, or an empty list if there are no arguments
-