@ShellComponent public class Completion extends AbstractShellComponent
bash.| Modifier and Type | Class and Description | 
|---|---|
| static interface  | Completion.CommandMarker interface used in auto-config. | 
| Constructor and Description | 
|---|
| Completion(String rootCommand) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | bash() | 
| void | setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) | 
afterPropertiesSet, getApplicationContext, getCommandCatalog, getCompletionResolver, getResourceLoader, getShell, getTemplateExecutor, getTerminal, getThemeResolver, setApplicationContextpublic Completion(String rootCommand)
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader in interface org.springframework.context.ResourceLoaderAwaresetResourceLoader in class AbstractShellComponent@ShellMethod(key="completion bash", value="Generate bash completion script") public String bash()
Copyright © 2022. All rights reserved.