Class ConfigOptionsDocGenerator
- java.lang.Object
-
- org.apache.flink.kubernetes.operator.docs.configuration.ConfigOptionsDocGenerator
-
public class ConfigOptionsDocGenerator extends java.lang.Object
Class used for generating code based documentation of configuration parameters.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
This method generates html tables from set of classes containingConfigOptions
.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
This method generates html tables from set of classes containingConfigOptions
.For each class 1 or more html tables will be generated and placed into a separate file, depending on whether the class is annotated with
ConfigGroups
. The tables contain the key, default value and description for everyConfigOption
.One additional table is generated containing all
ConfigOptions
that are annotated withDocumentation.Section
.- Parameters:
args
- [0] output directory for the generated files [1] project root directory- Throws:
java.lang.Exception
- Error during doc generation.
-
-