public class ConfigOptionsDocGenerator extends Object
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
This method generates html tables from set of classes containing
ConfigOptions . |
public static void main(String[] args) throws IOException, ClassNotFoundException
ConfigOptions
.
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
every ConfigOption
.
args
- first argument is output path for the generated files, second argument is full package name containing
classes with ConfigOption
IOException
ClassNotFoundException
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.