Class DelegatingCommandSuggestionEngine<C>

    • Method Summary

      Modifier and Type Method Description
      @NonNull java.util.List<@NonNull java.lang.String> getSuggestions​(@NonNull CommandContext<C> context, @NonNull java.lang.String input)
      Get command suggestions for the "next" argument that would yield a correctly parsing command input
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSuggestions

        public @NonNull java.util.List<@NonNull java.lang.String> getSuggestions​(@NonNull CommandContext<C> context,
                                                                                 @NonNull java.lang.String input)
        Description copied from interface: CommandSuggestionEngine
        Get command suggestions for the "next" argument that would yield a correctly parsing command input
        Specified by:
        getSuggestions in interface CommandSuggestionEngine<C>
        Parameters:
        context - Request context
        input - Input provided by the sender
        Returns:
        List of suggestions