Package org.apache.rat.testhelpers
Class BaseOption
An implementation of UIOption to use in general (non-UI limited or adjusted) testing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe BaseOptionBuilder implementation.Nested classes/interfaces inherited from class org.apache.rat.ui.UIOption
UIOption.Builder<T extends UIOption<T>,B extends UIOption.Builder<T, B>> -
Field Summary
Fields inherited from class org.apache.rat.ui.UIOption
argumentType, name, option, optionCollection, PATTERN -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder for the BaseOption.protected StringcleanupName(org.apache.commons.cli.Option option) getText()Methods inherited from class org.apache.rat.ui.UIOption
cleanup, equals, getArgName, getArgType, getCasedName, getDefaultValue, getDeprecated, getDescription, getName, getOption, getOptionCollection, getType, hasArg, hasArgs, hashCode, isDeprecated, isRequired, keyValue
-
Method Details
-
builder
Creates a builder for the BaseOption.- Returns:
- the BaseOptionBuilder.
-
cleanupName
- Specified by:
cleanupNamein classUIOption<BaseOption>
-
getExample
- Specified by:
getExamplein classUIOption<BaseOption>
-
getText
- Specified by:
getTextin classUIOption<BaseOption>
-