Package org.apache.rat
Class CLIOption.CLIBuilder
java.lang.Object
org.apache.rat.ui.UIOption.Builder<CLIOption,CLIOption.CLIBuilder>
org.apache.rat.CLIOption.CLIBuilder
- Enclosing class:
- CLIOption
Builder for a CLI Option.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CLIOptiondoBuild()Executes the final build.protected Function<org.apache.commons.cli.Option,CasedString> Returns a function to convert an Option to a CasedString that is the native name for the option.Methods inherited from class org.apache.rat.ui.UIOption.Builder
build, option, option, optionCollection, optionCollection, self
-
Constructor Details
-
CLIBuilder
public CLIBuilder()
-
-
Method Details
-
getNameFactory
Description copied from class:UIOption.BuilderReturns a function to convert an Option to a CasedString that is the native name for the option.- Specified by:
getNameFactoryin classUIOption.Builder<CLIOption,CLIOption.CLIBuilder> - Returns:
- a function to convert an Option to a CasedString that is the native name for the option.
-
doBuild
Description copied from class:UIOption.BuilderExecutes the final build.- Specified by:
doBuildin classUIOption.Builder<CLIOption,CLIOption.CLIBuilder> - Returns:
- An instance of the UIOption.
-