Class StabilityOptions

java.lang.Object
org.apache.hadoop.classification.tools.StabilityOptions

public final class StabilityOptions extends Object
Doclet option helpers for API stability filtering.
  • Field Details

  • Method Details

    • optionLength

      public static Integer optionLength(String option)
      Return option length for a supported stability option.
      Parameters:
      option - option name
      Returns:
      1 if supported; otherwise null
    • validOptions

      public static void validOptions(String[][] options, Reporter reporter)
      Validate and apply stability options.
      Parameters:
      options - doclet options
      reporter - reporter
    • filterOptions

      public static String[][] filterOptions(String[][] options)
      Filter out stability options from the doclet options array.
      Parameters:
      options - doclet options
      Returns:
      options without stability flags