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
ConstructorDescriptionCommandValueProvider
(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:ValueProvider
Complete completion proposals.- Specified by:
complete
in interfaceValueProvider
- Parameters:
completionContext
- the context- Returns:
- the completion proposals
-