Uses of Class
io.vertx.core.cli.Argument
Packages that use Argument
-
Uses of Argument in io.vertx.core.cli
Subclasses of Argument in io.vertx.core.cliModifier and TypeClassDescriptionclassAn implementation ofArgumentfor java specifying the type of object received by the argument.Methods in io.vertx.core.cli that return ArgumentModifier and TypeMethodDescriptionCLI.getArgument(int index) Gets anArgumentbased on its index.CLI.getArgument(String name) Gets anArgumentbased on its name (argument name).InvalidValueException.getArgument()MissingValueException.getArgument()Argument.setArgName(String argName) Sets the argument name of thisArgument.Argument.setDefaultValue(String defaultValue) Sets the default value of thisArgument.Argument.setDescription(String description) Sets the description of theArgument.Argument.setHidden(boolean hidden) Sets whether or not the currentArgumentis hidden.Argument.setIndex(int index) Sets the argument index.Argument.setMultiValued(boolean multiValued) Sets whether or not the argument can receive several values.Argument.setRequired(boolean required) Sets whether or not the currentArgumentis required.Methods in io.vertx.core.cli that return types with arguments of type ArgumentMethods in io.vertx.core.cli with parameters of type ArgumentModifier and TypeMethodDescriptionCLI.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.CommandLine.getRawValueForArgument(Argument arg) Gets the raw value of the given argument.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 ArgumentModifier and TypeMethodDescriptionCLI.addArguments(List<Argument> args) Adds a set of arguments.CLI.setArguments(List<Argument> args) Sets the list of arguments.Constructors in io.vertx.core.cli with parameters of type ArgumentModifierConstructorDescriptionCreates 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.