Class CommandResolver

  • Direct Known Subclasses:
    CommandRegistry

    public class CommandResolver
    extends Object
    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.

    • Constructor Detail

      • CommandResolver

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

        public CommandResolver​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.shell.command.CommandResolver getDelegate()
      • 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)