Class EvaluateMetapathCommand
java.lang.Object
gov.nist.secauto.metaschema.cli.processor.command.AbstractTerminalCommand
gov.nist.secauto.metaschema.cli.commands.metapath.EvaluateMetapathCommand
- All Implemented Interfaces:
ICommand
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.apache.commons.cli.Option
static final org.apache.commons.cli.Option
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ExitStatus
executeCommand
(CLIProcessor.CallingContext callingContext, org.apache.commons.cli.CommandLine cmdLine) Collection<? extends org.apache.commons.cli.Option>
getName()
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
-
Field Details
-
CONTENT_OPTION
-
METASCHEMA_OPTION
-
-
Constructor Details
-
EvaluateMetapathCommand
public EvaluateMetapathCommand()
-
-
Method Details
-
getName
-
getDescription
-
gatherOptions
-
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)
-