Uses of Class
io.vertx.core.cli.Argument
-
Packages that use Argument Package Description io.vertx.core.cli -
-
Uses of Argument in io.vertx.core.cli
Subclasses of Argument in io.vertx.core.cli Modifier and Type Class Description classTypedArgument<T>An implementation ofArgumentfor java specifying the type of object received by the argument.Methods in io.vertx.core.cli that return Argument Modifier and Type Method Description ArgumentCLI. getArgument(int index)Gets anArgumentbased on its index.ArgumentCLI. getArgument(String name)Gets anArgumentbased on its name (argument name).ArgumentInvalidValueException. getArgument()ArgumentMissingValueException. getArgument()ArgumentArgument. setArgName(String argName)Sets the argument name of thisArgument.ArgumentArgument. setDefaultValue(String defaultValue)Sets the default value of thisArgument.ArgumentArgument. setDescription(String description)Sets the description of theArgument.ArgumentArgument. setHidden(boolean hidden)Sets whether or not the currentArgumentis hidden.ArgumentArgument. setIndex(int index)Sets the argument index.ArgumentArgument. setMultiValued(boolean multiValued)Sets whether or not the argument can receive several values.ArgumentArgument. setRequired(boolean required)Sets whether or not the currentArgumentis required.Methods in io.vertx.core.cli that return types with arguments of type Argument Modifier and Type Method Description List<Argument>CLI. getArguments()Gets the list of defined arguments.Methods in io.vertx.core.cli with parameters of type Argument Modifier and Type Method Description CLICLI. addArgument(Argument arg)Adds an argument.protected voidUsageMessageFormatter. appendArgument(StringBuilder buff, Argument argument, boolean required)Appends the usage clause for an Argument to a StringBuilder.StringCommandLine. getRawValueForArgument(Argument arg)Gets the raw value of the given argument.List<String>CommandLine. getRawValuesForArgument(Argument argument)Gets the raw values of the given argument.booleanCommandLine. isArgumentAssigned(Argument arg)Checks whether or not the given argument has been assigned in the command line.Method parameters in io.vertx.core.cli with type arguments of type Argument Modifier and Type Method Description CLICLI. addArguments(List<Argument> args)Adds a set of arguments.CLICLI. setArguments(List<Argument> args)Sets the list of arguments.Constructors in io.vertx.core.cli with parameters of type Argument Constructor Description Argument(Argument other)Creates a new instance ofArgumentby copyingother.InvalidValueException(Argument argument, String value, Exception cause)Creates a new instance ofInvalidValueExceptionfor the given argument and the given value.MissingValueException(Argument argument)Creates a new instance ofMissingValueExceptionwhen a mandatory argument is not set in the user command line.
-