Package alluxio.cli.docgen
Class ConfigurationDocGenerator
- java.lang.Object
-
- alluxio.cli.docgen.ConfigurationDocGenerator
-
@ThreadSafe @PublicApi public final class ConfigurationDocGenerator extends java.lang.ObjectCSV_FILE_DIR utility to generate property keys to csv files.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCSV_FILE_HEADER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidgenerate()Generates the configuration docs.static voidwriteCSVFile(java.util.Collection<? extends alluxio.conf.PropertyKey> defaultKeys, java.lang.String filePath)Writes property key to csv files.static voidwriteYMLFile(java.util.Collection<? extends alluxio.conf.PropertyKey> defaultKeys, java.lang.String filePath)Writes description of property key to yml files.
-
-
-
Field Detail
-
CSV_FILE_HEADER
public static final java.lang.String CSV_FILE_HEADER
- See Also:
- Constant Field Values
-
-
Method Detail
-
writeCSVFile
public static void writeCSVFile(java.util.Collection<? extends alluxio.conf.PropertyKey> defaultKeys, java.lang.String filePath) throws java.io.IOExceptionWrites property key to csv files.- Parameters:
defaultKeys- Collection which is from PropertyKey DEFAULT_KEYS_MAP.values()filePath- path for csv files- Throws:
java.io.IOException
-
writeYMLFile
public static void writeYMLFile(java.util.Collection<? extends alluxio.conf.PropertyKey> defaultKeys, java.lang.String filePath) throws java.io.IOExceptionWrites description of property key to yml files.- Parameters:
defaultKeys- Collection which is from PropertyKey DEFAULT_KEYS_MAP.values()filePath- path for csv files- Throws:
java.io.IOException
-
generate
public static void generate() throws java.io.IOExceptionGenerates the configuration docs.- Throws:
java.io.IOException
-
-