Packages

t

com.nthportal.shell.util

CommandTabCompleter

trait CommandTabCompleter extends CommandDelegator with TabCompletable

Delegates the tab-completion of a Command to one of a sequence of commands based on the arguments with which this is executed. That is, if the first argument with which the tab-completion was requested is the name of a command (in CommandDelegator.commands), it will delegate the tab-completion to that command with the subsequent arguments.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommandTabCompleter
  2. TabCompletable
  3. CommandDelegator
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def commands: ImmutableIterable[Command]

    Returns a sequence of commands to which some behavior might be delegated.

    Returns a sequence of commands to which some behavior might be delegated.

    returns

    a sequence of commands to which some behavior might be delegated

    Attributes
    protected
    Definition Classes
    CommandDelegator

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final lazy val commandsByName: Map[String, Command]

    A mapping of each command's name to itself.

    A mapping of each command's name to itself.

    Attributes
    protected
    Definition Classes
    CommandDelegator
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. final def tabComplete(args: ImmutableSeq[String]): ImmutableSeq[String]

    Returns a sequence of suggested completions for the final argument of a sequence of arguments.

    Returns a sequence of suggested completions for the final argument of a sequence of arguments. Returns an empty sequence if no suggestions are available for a given argument sequence.

    args

    the arguments for which to provide suggested completions

    returns

    a sequence of suggested completions for the final argument given

    Definition Classes
    CommandTabCompleterTabCompletable
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TabCompletable

Inherited from CommandDelegator

Inherited from AnyRef

Inherited from Any

Ungrouped