Class MavenOption
A representation of a Maven option based on a CLI option.
-
Field Summary
Fields inherited from class UIOption
argumentType, name, option, optionCollection, PATTERN -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcleanupName(org.apache.commons.cli.Option option) getExample(String... args) Create example text for the option.Gets the method name for this option.getMethodSignature(String indent, boolean multiple) getPropertyAnnotation(String fname) getText()toString()Methods inherited from class UIOption
cleanup, getArgName, getArgType, getCasedName, getDefaultValue, getDeprecated, getDescription, getName, getOption, getOptionCollection, getType, hasArg, hasArgs, isDeprecated, isRequired, keyValue
-
Method Details
-
toString
-
getMethodName
Gets the method name for this option.- Returns:
- the method name for this option.
-
cleanupName
- Specified by:
cleanupNamein classUIOption<MavenOption>
-
getText
- Specified by:
getTextin classUIOption<MavenOption>
-
getExample
- Specified by:
getExamplein classUIOption<MavenOption>
-
getExample
-
getMethodSignature
-
getPropertyAnnotation
-