Top Description Fields Constructors Methods
examples.cli

public Class AnnotatedCli

extends Object
Class Inheritance
Annotations
@Name:some-name
@Summary:some short summary.
@Description:some long description
Imports
io.vertx.core.cli.annotations.*

An example of annotated cli.
Author
Clement Escoffier

Field Summary

Modifier and TypeField and Description
private String
private boolean
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
setFlag(boolean flag)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

argback to summary
private String arg
flagback to summary
private boolean flag
nameback to summary
private String name

Constructor Detail

AnnotatedCliback to summary
public AnnotatedCli()

Method Detail

setArgback to summary
public void setArg(String arg)
Annotations
@Argument
index:0
setFlagback to summary
public void setFlag(boolean flag)
Annotations
@Option
shortName:f
flag:true
setNameback to summary
public void setName(String name)
Annotations
@Option
longName:name