Class GenerateSchemaCommand
- java.lang.Object
-
- gov.nist.secauto.metaschema.cli.processor.command.AbstractTerminalCommand
-
- gov.nist.secauto.metaschema.cli.commands.GenerateSchemaCommand
-
- All Implemented Interfaces:
ICommand
public class GenerateSchemaCommand extends AbstractTerminalCommand
-
-
Constructor Summary
Constructors Constructor Description GenerateSchemaCommand()
-
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)
Collection<? extends org.apache.commons.cli.Option>
gatherOptions()
String
getDescription()
List<ExtraArgument>
getExtraArguments()
String
getName()
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
getSubCommandByName, requiredExtraArgumentsCount
-
-
-
-
Constructor Detail
-
GenerateSchemaCommand
public GenerateSchemaCommand()
-
-
Method Detail
-
getDescription
public String getDescription()
-
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
-
newExecutor
public ICommandExecutor newExecutor(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine)
-
executeCommand
protected ExitStatus executeCommand(@NonNull CLIProcessor.CallingContext callingContext, @NonNull org.apache.commons.cli.CommandLine cmdLine)
-
-