Package io.vertx.mutiny.ext.shell.cli
Class CliToken
java.lang.Object
io.vertx.mutiny.ext.shell.cli.CliToken
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CliToken
createBlank
(String blank) static CliToken
createText
(String text) boolean
io.vertx.ext.shell.cli.CliToken
int
hashCode()
boolean
isBlank()
boolean
isText()
static CliToken
newInstance
(io.vertx.ext.shell.cli.CliToken arg) raw()
toString()
value()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
CliToken
public CliToken(io.vertx.ext.shell.cli.CliToken delegate) -
CliToken
-
-
Method Details
-
getDelegate
public io.vertx.ext.shell.cli.CliToken getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
createText
- Parameters:
text
- the text- Returns:
- the token
-
createBlank
- Parameters:
blank
- the blank value- Returns:
- the token
-
value
- Returns:
- the token value
-
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
- Parameters:
s
- the tokenized string- Returns:
- the tokens
-
newInstance
-