Class CommandValueProvider
java.lang.Object
org.springframework.shell.standard.CommandValueProvider
- All Implemented Interfaces:
ValueProvider
A
ValueProvider that can be used to auto-complete names of shell commands.-
Constructor Summary
ConstructorsConstructorDescriptionCommandValueProvider(org.springframework.shell.command.CommandCatalog commandRegistry) -
Method Summary
-
Constructor Details
-
CommandValueProvider
public CommandValueProvider(org.springframework.shell.command.CommandCatalog commandRegistry)
-
-
Method Details
-
complete
public List<org.springframework.shell.CompletionProposal> complete(org.springframework.shell.CompletionContext completionContext) Description copied from interface:ValueProviderComplete completion proposals.- Specified by:
completein interfaceValueProvider- Parameters:
completionContext- the context- Returns:
- the completion proposals
-