Interface RawCompleterSupplier<T>
- Type Parameters:
T
- - The object type of the command argument.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The work of this interface is similar to that of the
Supplier
interface. But this interface returns only for the string stream.-
Method Summary
Modifier and TypeMethodDescriptionget
(CommandCause cause, String[] args) Returns a stream of strings to auto-complete the command with the argument.
-
Method Details
-
get
Returns a stream of strings to auto-complete the command with the argument. The array of strings passed to the method can be used to filter valid arguments.
-