Class MavenOptionCollection

java.lang.Object
org.apache.rat.ui.UIOptionCollection<MavenOption>
org.apache.rat.documentation.options.MavenOptionCollection

public final class MavenOptionCollection extends UIOptionCollection<MavenOption>
The collection of MavenOptions equivalent to the CLI options with any unsupported options removed.
  • Constructor Details

    • MavenOptionCollection

      public MavenOptionCollection()
      Create an instance.
  • Method Details

    • getRenameMap

      public static Map<String,String> getRenameMap()
      Gets the map of renamed Options indexed by original option name.
      Returns:
      the map of renamed Options indexed by original option name.
    • rename

      public String rename(org.apache.commons.cli.Option option)
      Description copied from class: UIOptionCollection
      Extracts the UI based name string for an option. The default implementation return the string returned by ArgumentTracker.extractKey(Option)
      Overrides:
      rename in class UIOptionCollection<MavenOption>
      Parameters:
      option - the option to create the name for.
      Returns:
      the name for the option in the UICollection name, may be the same as the option name.