@ThreadSafe @PublicApi public final class ConfigurationDocGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CSV_FILE_HEADER |
Modifier and Type | Method and Description |
---|---|
static void |
generate()
Generates the configuration docs.
|
static void |
writeCSVFile(Collection<? extends PropertyKey> defaultKeys,
String filePath)
Writes property key to csv files.
|
static void |
writeYMLFile(Collection<? extends PropertyKey> defaultKeys,
String filePath)
Writes description of property key to yml files.
|
public static final String CSV_FILE_HEADER
public static void writeCSVFile(Collection<? extends PropertyKey> defaultKeys, String filePath) throws IOException
defaultKeys
- Collection which is from PropertyKey DEFAULT_KEYS_MAP.values()filePath
- path for csv filesIOException
public static void writeYMLFile(Collection<? extends PropertyKey> defaultKeys, String filePath) throws IOException
defaultKeys
- Collection which is from PropertyKey DEFAULT_KEYS_MAP.values()filePath
- path for csv filesIOException
public static void generate() throws IOException
IOException
Copyright © 2023. All Rights Reserved.