@FunctionalInterface
public interface SuggestionProvider
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getSuggestions(java.lang.String input,
InjectedValueAccess context)
Given
input as the current input, provide some suggestions for the user. |
java.util.List<java.lang.String> getSuggestions(java.lang.String input, InjectedValueAccess context)
input
as the current input, provide some suggestions for the user.input
- the user's current inputcontext
- the context for the current command