| Package | Description | 
|---|---|
| org.springframework.shell | Contains core classes for Spring Shell, irrespective of the way commands are actually implemented. | 
| org.springframework.shell.command | 
| Modifier and Type | Method and Description | 
|---|---|
| CommandRegistration | CompletionContext. getCommandRegistration() | 
| Modifier and Type | Method and Description | 
|---|---|
| CompletionContext | CompletionContext. commandRegistration(CommandRegistration commandRegistration)Return a copy of this context with given command registration. | 
| Constructor and Description | 
|---|
| CompletionContext(List<String> words,
                 int wordIndex,
                 int position,
                 CommandRegistration commandRegistration,
                 CommandOption commandOption) | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | CommandRegistration.DefaultCommandRegistration | 
| Modifier and Type | Method and Description | 
|---|---|
| CommandRegistration | CommandRegistration.Builder. build()Builds a  CommandRegistration. | 
| CommandRegistration | CommandRegistration.BaseBuilder. build() | 
| CommandRegistration | CommandContext. getCommandRegistration()Gets a command registration. | 
| CommandRegistration | CommandContext.DefaultCommandContext. getCommandRegistration() | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,CommandRegistration> | CommandCatalog. getRegistrations()Gets all  CommandRegistrations mapped with their names. | 
| Map<String,CommandRegistration> | CommandCatalog.DefaultCommandCatalog. getRegistrations() | 
| List<CommandRegistration> | CommandResolver. resolve()Resolve command registrations. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | CommandExecution. evaluate(CommandRegistration registration,
        String[] args)Evaluate a command with a given arguments. | 
| Object | CommandExecution.DefaultCommandExecution. evaluate(CommandRegistration registration,
        String[] args) | 
| static CommandContext | CommandContext. of(String[] args,
  CommandParser.CommandParserResults results,
  org.jline.terminal.Terminal terminal,
  CommandRegistration commandRegistration)Gets an instance of a default  CommandContext. | 
| void | CommandCatalog. register(CommandRegistration... registration)Register a  CommandRegistration. | 
| void | CommandCatalog.DefaultCommandCatalog. register(CommandRegistration... registration) | 
| void | CommandCatalog. unregister(CommandRegistration... registration)Unregister a  CommandRegistration. | 
| void | CommandCatalog.DefaultCommandCatalog. unregister(CommandRegistration... registration) | 
Copyright © 2023. All rights reserved.