Package | Description |
---|---|
org.springframework.shell |
Contains core classes for Spring Shell, irrespective of the way commands are actually implemented.
|
org.springframework.shell.command | |
org.springframework.shell.completion | |
org.springframework.shell.standard |
Contains infrastructure for describing commands with the "new" preferred Spring Shell programming model.
|
Modifier and Type | Field and Description |
---|---|
protected List<CompletionResolver> |
Shell.completionResolvers |
Modifier and Type | Method and Description |
---|---|
void |
Shell.setCompletionResolvers(List<CompletionResolver> resolvers) |
Modifier and Type | Method and Description |
---|---|
CompletionResolver |
CommandRegistration.DefaultOptionSpec.getCompletion() |
CompletionResolver |
CommandOption.getCompletion()
Gets a completion function.
|
CompletionResolver |
CommandOption.DefaultCommandOption.getCompletion() |
Modifier and Type | Method and Description |
---|---|
CommandRegistration.OptionSpec |
CommandRegistration.OptionSpec.completion(CompletionResolver completion)
Define a
completion function for an option. |
CommandRegistration.OptionSpec |
CommandRegistration.DefaultOptionSpec.completion(CompletionResolver completion) |
static CommandOption |
CommandOption.of(String[] longNames,
Character[] shortNames,
String description,
org.springframework.core.ResolvableType type,
boolean required,
String defaultValue,
Integer position,
Integer arityMin,
Integer arityMax,
String label,
CompletionResolver completion)
Gets an instance of a default
CommandOption . |
Constructor and Description |
---|
DefaultCommandOption(String[] longNames,
Character[] shortNames,
String description,
org.springframework.core.ResolvableType type,
boolean required,
String defaultValue,
Integer position,
Integer arityMin,
Integer arityMax,
String label,
CompletionResolver completion) |
Modifier and Type | Class and Description |
---|---|
class |
RegistrationOptionsCompletionResolver
Default implementation of a
CompletionResolver . |
Modifier and Type | Method and Description |
---|---|
protected Stream<CompletionResolver> |
AbstractShellComponent.getCompletionResolver() |
Copyright © 2024. All rights reserved.