Class CommandResolver

java.lang.Object
io.vertx.mutiny.ext.shell.command.CommandResolver
All Implemented Interfaces:
MutinyDelegate
Direct Known Subclasses:
CommandRegistry

public class CommandResolver extends Object implements MutinyDelegate
A resolver for commands, so the shell can discover commands.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • CommandResolver

      public CommandResolver(io.vertx.ext.shell.command.CommandResolver delegate)
    • CommandResolver

      public CommandResolver(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.shell.command.CommandResolver getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • baseCommands

      public static CommandResolver baseCommands(Vertx vertx)
      Parameters:
      vertx -
      Returns:
      the base commands of Vert.x Shell.
    • commands

      public List<Command> commands()
      Returns:
      the current commands
    • getCommand

      public Command getCommand(String name)
      Parameters:
      name - the command name
      Returns:
      the commad or null
    • newInstance

      public static CommandResolver newInstance(io.vertx.ext.shell.command.CommandResolver arg)