java.lang.Object
dev.metaschema.cli.processor.command.AbstractTerminalCommand
dev.metaschema.cli.commands.AbstractValidateContentCommand
- All Implemented Interfaces:
ICommand
- Direct Known Subclasses:
ValidateContentUsingModuleCommand,ValidateModuleCommand
Used by implementing classes to provide a content validation command.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classDrives the validation execution. -
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
-
AbstractValidateContentCommand
public AbstractValidateContentCommand()
-
-
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
-