Uses of Interface
gov.nist.secauto.metaschema.cli.processor.command.ICommand
Package
Description
-
Uses of ICommand in gov.nist.secauto.metaschema.cli.processor
Modifier and TypeMethodDescriptionCLIProcessor.CallingContext.getTargetCommand()
Get the command that was triggered by the CLI arguments.Modifier and TypeMethodDescriptionCLIProcessor.getTopLevelCommands()
Get the root-level commands.CLIProcessor.getTopLevelCommandsByName()
Get the root-level commands, mapped from name to command.Modifier and TypeMethodDescriptionvoid
CLIProcessor.addCommandHandler
(ICommand handler) Register a new command handler. -
Uses of ICommand in gov.nist.secauto.metaschema.cli.processor.command
Modifier and TypeClassDescriptionclass
A base class for a command that supports hierarchical command structure with child commands.class
A base class for terminal commands in the command processing hierarchy.Modifier and TypeMethodDescriptionprotected ICommand
AbstractCommandExecutor.getCommand()
Get the command associated with this execution.AbstractParentCommand.getSubCommandByName
(String name) default ICommand
ICommand.getSubCommandByName
(String name) Get a sub-command by it's command name.Modifier and TypeMethodDescriptionCommandService.getCommands()
Get the loaded commands.AbstractParentCommand.getSubCommands()
default Collection<ICommand>
ICommand.getSubCommands()
Get any sub-commands associated with this command.Modifier and TypeMethodDescriptionprotected final void
AbstractParentCommand.addCommandHandler
(ICommand handler) Add a child command.