Class AbstractChoicesCompleter

    • Field Detail

      • commandLine

        public org.apache.karaf.shell.api.console.CommandLine commandLine
      • session

        public org.apache.karaf.shell.api.console.Session session
    • Constructor Detail

      • AbstractChoicesCompleter

        public AbstractChoicesCompleter()
    • Method Detail

      • choices

        protected abstract List<String> choices()
      • complete

        public int complete​(org.apache.karaf.shell.api.console.Session session,
                            org.apache.karaf.shell.api.console.CommandLine commandLine,
                            List<String> candidates)
        Specified by:
        complete in interface org.apache.karaf.shell.api.console.Completer
        Overrides:
        complete in class AbstractCompleter