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.

@FunctionalInterface public interface RawCompleterSupplier<T>
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 Type
    Method
    Description
    get(CommandCause cause, String[] args)
    Returns a stream of strings to auto-complete the command with the argument.
  • Method Details

    • get

      Stream<String> get(CommandCause cause, String[] args)
      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.