Class AbstractValidateContentCommand
- java.lang.Object
-
- gov.nist.secauto.metaschema.cli.processor.command.AbstractTerminalCommand
-
- gov.nist.secauto.metaschema.cli.commands.AbstractValidateContentCommand
-
- All Implemented Interfaces:
ICommand
- Direct Known Subclasses:
ValidateContentUsingModuleCommand
public abstract class AbstractValidateContentCommand extends AbstractTerminalCommand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
AbstractValidateContentCommand.AbstractValidationCommandExecutor
-
Constructor Summary
Constructors Constructor Description AbstractValidateContentCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends org.apache.commons.cli.Option>
gatherOptions()
List<ExtraArgument>
getExtraArguments()
String
getName()
void
validateOptions(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine)
-
Methods inherited from class gov.nist.secauto.metaschema.cli.processor.command.AbstractTerminalCommand
getSubCommands, isSubCommandRequired, resolvePathAgainstCWD
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nist.secauto.metaschema.cli.processor.command.ICommand
getDescription, getSubCommandByName, newExecutor, requiredExtraArgumentsCount
-
-
-
-
Constructor Detail
-
AbstractValidateContentCommand
public AbstractValidateContentCommand()
-
-
Method Detail
-
gatherOptions
public Collection<? extends org.apache.commons.cli.Option> gatherOptions()
-
getExtraArguments
public List<ExtraArgument> getExtraArguments()
-
validateOptions
public void validateOptions(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) throws InvalidArgumentException
- Throws:
InvalidArgumentException
-
-