Class CommandNamesCompleter

    • Constructor Detail

      • CommandNamesCompleter

        public CommandNamesCompleter()
    • Method Detail

      • complete

        public int complete​(Session session,
                            CommandLine commandLine,
                            List<String> candidates)
        Description copied from interface: Completer
        populate possible completion candidates.
        Parameters:
        session - the current Session
        commandLine - the pre-parsed CommandLine
        candidates - a list to fill with possible completion candidates
        Returns:
        the index of theCommandLine for which the completion will be relative