Class ValidateModuleCommand
- java.lang.Object
-
- gov.nist.secauto.metaschema.cli.processor.command.AbstractTerminalCommand
-
- gov.nist.secauto.metaschema.cli.commands.ValidateModuleCommand
-
- All Implemented Interfaces:
ICommand
public class ValidateModuleCommand extends AbstractTerminalCommand
-
-
Constructor Summary
Constructors Constructor Description ValidateModuleCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExitStatus
executeCommand(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine)
String
getDescription()
List<ExtraArgument>
getExtraArguments()
String
getName()
protected List<Source>
getXmlSchemaSources()
ICommandExecutor
newExecutor(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine)
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
gatherOptions, getSubCommandByName, requiredExtraArgumentsCount
-
-
-
-
Constructor Detail
-
ValidateModuleCommand
public ValidateModuleCommand()
-
-
Method Detail
-
getDescription
public String getDescription()
-
getExtraArguments
public List<ExtraArgument> getExtraArguments()
-
getXmlSchemaSources
@NonNull protected List<Source> getXmlSchemaSources() throws IOException
- Throws:
IOException
-
validateOptions
public void validateOptions(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) throws InvalidArgumentException
- Throws:
InvalidArgumentException
-
newExecutor
public ICommandExecutor newExecutor(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine)
-
executeCommand
@NonNull protected ExitStatus executeCommand(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine)
-
-