Class Command

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

public class Command extends Object implements MutinyDelegate
A Vert.x Shell command, it can be created from any language using the CommandBuilder.command(java.lang.String) or from a Java class using io.vertx.mutiny.ext.shell.command.Command#create

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

  • Field Details

  • Constructor Details

    • Command

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

      public Command(Object delegate)
  • Method Details

    • getDelegate

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

      public String name()
      Returns:
      the command name
    • cli

      public CLI cli()
      Returns:
      the command line interface, can be null
    • createProcess

      public Process createProcess()
      Returns:
      the process
    • createProcess

      public Process createProcess(List<CliToken> args)
      Parameters:
      args - the process arguments
      Returns:
      the process
    • complete

      public void complete(Completion completion)
      Parameters:
      completion - the completion object
    • newInstance

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