Interface SuggestionProvider<S>
- All Known Implementing Classes:
SuggestionProviders.RegisteredSuggestion
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiongetSuggestions(CommandContext<S> context, SuggestionsBuilder builder)
-
Method Details
-
getSuggestions
CompletableFuture<Suggestions> getSuggestions(CommandContext<S> context, SuggestionsBuilder builder) throws CommandSyntaxException - Throws:
CommandSyntaxException
-