Class CompletionCommand

  • All Implemented Interfaces:
    java.lang.Runnable, java.util.concurrent.Callable<java.lang.Void>

    @Command(name="completion",
             description="Complete commands (for using in tooling such as Bash Completions).",
             hidden=true)
    public class CompletionCommand
    extends java.lang.Object
    implements java.lang.Runnable, java.util.concurrent.Callable<java.lang.Void>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<java.lang.String> arguments  
      io.airlift.airline.model.GlobalMetadata metadata  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Void call()  
      java.lang.Iterable<java.lang.String> generateSuggestions()  
      void run()  
      • Methods inherited from class java.lang.Object

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

      • metadata

        @Inject
        public io.airlift.airline.model.GlobalMetadata metadata
      • arguments

        public java.util.List<java.lang.String> arguments
    • Constructor Detail

      • CompletionCommand

        public CompletionCommand()
    • Method Detail

      • call

        public java.lang.Void call()
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Void>
      • generateSuggestions

        public java.lang.Iterable<java.lang.String> generateSuggestions()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable