Class DocGenerator
java.lang.Object
org.wildfly.galleon.plugin.doc.generator.DocGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgenerate(SimpleLog log, Path docZipArchive, Path outputDirectory, Path metadataPath, Path managementAPIPath, Path featuresPath, Path localRepositoryPath) Generate documentation from the feature pack's metadata and model.static booleangenerateModel(Path outputDirectory, Path managementAPIPath, Path featuresPath) Generate the model reference in theoutputDirectory
-
Constructor Details
-
DocGenerator
public DocGenerator()
-
-
Method Details
-
generateModel
public static boolean generateModel(Path outputDirectory, Path managementAPIPath, Path featuresPath) throws IOException Generate the model reference in theoutputDirectory- Parameters:
outputDirectory- the root directory to generate the model referencemanagementAPIPath- the path to the management-api.json filefeaturesPath- the path to the features.json file- Returns:
- true if the model is generated
- Throws:
IOException
-
generate
public static void generate(SimpleLog log, Path docZipArchive, Path outputDirectory, Path metadataPath, Path managementAPIPath, Path featuresPath, Path localRepositoryPath) throws IOException Generate documentation from the feature pack's metadata and model. The documentation is generated in theoutputDirectory. A zip archive that contains the generated documentation is created atdocZipArchive- Throws:
IOException
-