Class MavenOption

java.lang.Object
org.apache.rat.tools.AbstractOption
org.apache.rat.tools.MavenOption

public class MavenOption extends AbstractOption
A representation of a CLI option as a Maven option
  • Method Details

    • getFilteredOptions

      public static Set<org.apache.commons.cli.Option> getFilteredOptions()
      Gets the set of options that are not supported by Ant.
      Returns:
      The set of options that are not supported by Ant.
    • cleanupName

      protected String cleanupName(org.apache.commons.cli.Option option)
      Specified by:
      cleanupName in class AbstractOption
    • getDefaultValue

      public String getDefaultValue()
      Description copied from class: AbstractOption
      Return default value.
      Overrides:
      getDefaultValue in class AbstractOption
      Returns:
      default value or null if no argument given.
    • getPropertyAnnotation

      public String getPropertyAnnotation(String fname)
    • getMethodSignature

      public String getMethodSignature(String indent, boolean multiple)
    • getExample

      public String getExample()
      Description copied from class: AbstractOption
      Gets an example of how to use this option in the native UI.
      Specified by:
      getExample in class AbstractOption
      Returns:
      An example of how to use this option in the native UI.