Class Completion

java.lang.Object
io.vertx.mutiny.ext.shell.cli.Completion
All Implemented Interfaces:
MutinyDelegate

public class Completion extends Object implements MutinyDelegate
The completion object

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

  • Field Details

  • Constructor Details

    • Completion

      public Completion(io.vertx.ext.shell.cli.Completion delegate)
    • Completion

      public Completion(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.shell.cli.Completion 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
    • vertx

      public Vertx vertx()
      Returns:
      the current Vert.x instance
    • session

      public Session session()
      Returns:
      the shell current session, useful for accessing data like the current path for file completion, etc...
    • rawLine

      public String rawLine()
      Returns:
      the current line being completed in raw format, i.e without any char escape performed
    • lineTokens

      public List<CliToken> lineTokens()
      Returns:
      the current line being completed as preparsed tokens
    • complete

      public void complete(List<String> candidates)
      Parameters:
      candidates - the candidates
    • complete

      public void complete(String value, boolean terminal)
      Parameters:
      value - the value to complete with
      terminal - true if the value is terminal, i.e can be further completed
    • newInstance

      public static Completion newInstance(io.vertx.ext.shell.cli.Completion arg)