Class CompletionCommand

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CliCommand.Executable configure​(java.io.PrintStream out, java.io.PrintStream err, java.lang.String... args)  
      java.util.Set<Role> getConfigurableRoles()
      Allows a command to indicate that certain aspects are configurable.
      java.lang.String getDescription()  
      java.util.Set<java.lang.Object> getFlagObjects()
      Allows the set of objects used for finding command-line flags to be augmented with default implementations.
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

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

      • CompletionCommand

        public CompletionCommand()
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface CliCommand
      • getConfigurableRoles

        public java.util.Set<Role> getConfigurableRoles()
        Description copied from interface: CliCommand
        Allows a command to indicate that certain aspects are configurable. Any roles that are exposed here will be matched against flag objects which implement HasRoles to allow configuration via command line flags.
        Specified by:
        getConfigurableRoles in interface CliCommand
      • getFlagObjects

        public java.util.Set<java.lang.Object> getFlagObjects()
        Description copied from interface: CliCommand
        Allows the set of objects used for finding command-line flags to be augmented with default implementations.
        Specified by:
        getFlagObjects in interface CliCommand