class CommandRegistry extends CommandResolver
A registry that contains the commands known by a shell.
It is a mutable command resolver.
- Alphabetic
- By Inheritance
- CommandRegistry
- CommandResolver
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-  new CommandRegistry(_asJava: AnyRef)
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        asJava: AnyRef
      
      
      - Definition Classes
- CommandResolver
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        commands(): Buffer[Command]
      
      
      - returns
- the current commands 
 - Definition Classes
- CommandResolver
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        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
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        registerCommand(command: Command): CommandRegistry
      
      
      Like io.vertx.scala.ext.shell.command.CommandRegistry#registerCommand, without a completion handler. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        registerCommandFuture(command: Command): Future[Command]
      
      
      Like registerCommand but returns a scala.concurrent.Future instead of taking an AsyncResultHandler. 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        registerCommands(commands: Buffer[Command]): CommandRegistry
      
      
      Like io.vertx.scala.ext.shell.command.CommandRegistry#registerCommands, without a completion handler. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        registerCommandsFuture(commands: Buffer[Command]): Future[Buffer[Command]]
      
      
      Like registerCommands but returns a scala.concurrent.Future instead of taking an AsyncResultHandler. 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        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 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        unregisterCommand(commandName: String): CommandRegistry
      
      
      Like io.vertx.scala.ext.shell.command.CommandRegistry#unregisterCommand, without a completion handler. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        unregisterCommandFuture(commandName: String): Future[Unit]
      
      
      Like unregisterCommand but returns a scala.concurrent.Future instead of taking an AsyncResultHandler. 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )