Packages

class CommandRegistry extends CommandResolver

A registry that contains the commands known by a shell.

It is a mutable command resolver.

Linear Supertypes
CommandResolver, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommandRegistry
  2. CommandResolver
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CommandRegistry(_asJava: AnyRef)

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 asJava: AnyRef
    Definition Classes
    CommandResolver
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def commands(): Buffer[Command]

    returns

    the current commands

    Definition Classes
    CommandResolver
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getCommand(name: String): Command

    Returns a single command by its name.

    Returns a single command by its name. * @param name the command name

    returns

    the commad or null

    Definition Classes
    CommandResolver
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def registerCommand(command: Command, completionHandler: Handler[AsyncResult[Command]]): CommandRegistry

    Register a command * @param command the command to register

    Register a command * @param command the command to register

    completionHandler

    notified when the command is registered

    returns

    a reference to this, so the API can be used fluently

  19. def registerCommand(command: Command): CommandRegistry

    Like io.vertx.scala.ext.shell.command.CommandRegistry#registerCommand, without a completion handler.

  20. def registerCommandFuture(command: Command): Future[Command]

    Like registerCommand but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  21. def registerCommands(commands: Buffer[Command], completionHandler: Handler[AsyncResult[Buffer[Command]]]): CommandRegistry

    Register a list of commands.

    Register a list of commands. * @param commands the commands to register

    completionHandler

    notified when the command is registered

    returns

    a reference to this, so the API can be used fluently

  22. def registerCommands(commands: Buffer[Command]): CommandRegistry

    Like io.vertx.scala.ext.shell.command.CommandRegistry#registerCommands, without a completion handler.

  23. def registerCommandsFuture(commands: Buffer[Command]): Future[Buffer[Command]]

    Like registerCommands but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def unregisterCommand(commandName: String, completionHandler: Handler[AsyncResult[Unit]]): CommandRegistry

    Unregister a command.

    Unregister a command. * @param commandName the command name

    completionHandler

    notified when the command is unregistered

    returns

    a reference to this, so the API can be used fluently

  27. def unregisterCommand(commandName: String): CommandRegistry

    Like io.vertx.scala.ext.shell.command.CommandRegistry#unregisterCommand, without a completion handler.

  28. def unregisterCommandFuture(commandName: String): Future[Unit]

    Like unregisterCommand but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from CommandResolver

Inherited from AnyRef

Inherited from Any

Ungrouped