Class SuggestionCompleter

  • All Implemented Interfaces:
    org.apache.karaf.shell.api.console.Completer

    public class SuggestionCompleter
    extends java.lang.Object
    implements org.apache.karaf.shell.api.console.Completer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int complete​(org.apache.karaf.shell.api.console.Session session, org.apache.karaf.shell.api.console.CommandLine commandLine, java.util.List<java.lang.String> candidates)  
      protected java.lang.String extractNamespace​(java.util.List<java.lang.String> arguments)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.karaf.shell.api.console.Completer

        completeCandidates
    • Constructor Detail

      • SuggestionCompleter

        public SuggestionCompleter()
    • Method Detail

      • complete

        public int complete​(org.apache.karaf.shell.api.console.Session session,
                            org.apache.karaf.shell.api.console.CommandLine commandLine,
                            java.util.List<java.lang.String> candidates)
        Specified by:
        complete in interface org.apache.karaf.shell.api.console.Completer
      • extractNamespace

        protected java.lang.String extractNamespace​(java.util.List<java.lang.String> arguments)