Class MavenOption

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

public final class MavenOption extends UIOption<MavenOption>
A representation of a Maven option based on a CLI option.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getMethodName

      public String getMethodName()
      Gets the method name for this option.
      Returns:
      the method name for this option.
    • cleanupName

      protected String cleanupName(org.apache.commons.cli.Option option)
      Specified by:
      cleanupName in class UIOption<MavenOption>
    • getText

      public String getText()
      Specified by:
      getText in class UIOption<MavenOption>
    • getExample

      public String getExample()
      Specified by:
      getExample in class UIOption<MavenOption>
    • getExample

      public String getExample(String... args)
      Create example text for the option.
      Parameters:
      args - the example arguments for the option.
      Returns:
      a formatted option.
    • getMethodSignature

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

      public String getPropertyAnnotation(String fname)