Class CommandBuilder

java.lang.Object
io.vertx.mutiny.ext.shell.command.CommandBuilder
All Implemented Interfaces:
MutinyDelegate

public class CommandBuilder extends Object implements MutinyDelegate
A build for Vert.x Shell command.

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

  • Field Details

  • Constructor Details

    • CommandBuilder

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

      public CommandBuilder(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.shell.command.CommandBuilder 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
    • command

      public static CommandBuilder command(String name)
      Parameters:
      name - the command name
      Returns:
      the command
    • command

      public static CommandBuilder command(CLI cli)
      Parameters:
      cli - the cli to use
      Returns:
      the command
    • processHandler

      public CommandBuilder processHandler(Consumer<CommandProcess> handler)
      Parameters:
      handler - the process handler
      Returns:
    • completionHandler

      public CommandBuilder completionHandler(Consumer<Completion> handler)
      Parameters:
      handler - the completion handler
      Returns:
    • build

      public Command build(Vertx vertx)
      Parameters:
      vertx - the vertx instance
      Returns:
      the built command
    • newInstance

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