Class CliToken

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

public class CliToken extends Object implements MutinyDelegate
A parsed token in the command line interface.

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

  • Field Details

  • Constructor Details

    • CliToken

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

      public CliToken(Object delegate)
  • Method Details

    • getDelegate

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

      public static CliToken createText(String text)
      Parameters:
      text - the text
      Returns:
      the token
    • createBlank

      public static CliToken createBlank(String blank)
      Parameters:
      blank - the blank value
      Returns:
      the token
    • value

      public String value()
      Returns:
      the token value
    • raw

      public String raw()
      Returns:
      the raw token value, that may contain unescaped chars, for instance
    • isText

      public boolean isText()
      Returns:
      true when it's a text token
    • isBlank

      public boolean isBlank()
      Returns:
      true when it's a blank token
    • tokenize

      public static List<CliToken> tokenize(String s)
      Parameters:
      s - the tokenized string
      Returns:
      the tokens
    • newInstance

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