Class CommandLine.Builder
java.lang.Object
tripleo.vendor.org_apache_commons_cli.CommandLine.Builder
- Enclosing class:
- CommandLine
A nested builder class to create
CommandLine instance using descriptive methods.- Since:
- 1.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull CommandLine.BuilderAdd left-over unrecognized option/argument.@NotNull CommandLine.BuilderAdd an option to the command line.@NotNull CommandLinebuild()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addArg
Add left-over unrecognized option/argument.- Parameters:
arg- the unrecognized option/argument.- Returns:
- this Builder instance for method chaining.
-
addOption
Add an option to the command line. The values of the option are stored.- Parameters:
opt- the processed option.- Returns:
- this Builder instance for method chaining.
-
build
-