Package org.apache.rat.tools
Class MavenOption
java.lang.Object
org.apache.rat.tools.AbstractOption
org.apache.rat.tools.MavenOption
A representation of a CLI option as a Maven option
-
Field Summary
Fields inherited from class org.apache.rat.tools.AbstractOption
argumentType, name, option, PATTERN
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
cleanupName
(org.apache.commons.cli.Option option) Return default value.Gets an example of how to use this option in the native UI.static Set
<org.apache.commons.cli.Option> Gets the set of options that are not supported by Ant.getMethodSignature
(String indent, boolean multiple) getPropertyAnnotation
(String fname) Methods inherited from class org.apache.rat.tools.AbstractOption
argCount, cleanup, cleanupName, getArgName, getArgType, getDeprecated, getDescription, getName, getType, hasArg, hasArgs, isDeprecated, isRequired, keyValue
-
Method Details
-
getFilteredOptions
Gets the set of options that are not supported by Ant.- Returns:
- The set of options that are not supported by Ant.
-
cleanupName
- Specified by:
cleanupName
in classAbstractOption
-
getDefaultValue
Description copied from class:AbstractOption
Return default value.- Overrides:
getDefaultValue
in classAbstractOption
- Returns:
- default value or
null
if no argument given.
-
getPropertyAnnotation
-
getMethodSignature
-
getExample
Description copied from class:AbstractOption
Gets an example of how to use this option in the native UI.- Specified by:
getExample
in classAbstractOption
- Returns:
- An example of how to use this option in the native UI.
-