Class StabilityOptions
java.lang.Object
org.apache.hadoop.classification.tools.StabilityOptions
Doclet option helpers for API stability filtering.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic String[][]filterOptions(String[][] options) Filter out stability options from the doclet options array.static IntegeroptionLength(String option) Return option length for a supported stability option.static voidvalidOptions(String[][] options, Reporter reporter) Validate and apply stability options.
-
Field Details
-
STABLE_OPTION
Option flag:-stable.- See Also:
-
EVOLVING_OPTION
Option flag:-evolving.- See Also:
-
UNSTABLE_OPTION
Option flag:-unstable.- See Also:
-
-
Method Details
-
optionLength
Return option length for a supported stability option.- Parameters:
option- option name- Returns:
1if supported; otherwisenull
-
validOptions
Validate and apply stability options.- Parameters:
options- doclet optionsreporter- reporter
-
filterOptions
Filter out stability options from the doclet options array.- Parameters:
options- doclet options- Returns:
- options without stability flags
-