Interface ValueCompleter
- All Known Subinterfaces:
CommandCompletionProvider
,ResourceKeyedValueParameter<T>
,ValueParameter<T>
,ValueParameter.Simple<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines the completions for a parameter.
-
Method Summary
Modifier and TypeMethodDescriptioncomplete
(CommandContext context, String currentInput) Gets valid completions for this element, given the suppliedCommandContext
and current input for this element.
-
Method Details
-
complete
Gets valid completions for this element, given the suppliedCommandContext
and current input for this element.- Parameters:
context
- TheCommandContext
that contains the parsed argumentscurrentInput
- The current input for this argument- Returns:
- The list of values
-