@Beta public class DatamodelMetadataGenerator extends Object
Constructor and Description |
---|
DatamodelMetadataGenerator(Path inputDirectory)
Constructor for DatamodelMetadataGenerator.
|
Modifier and Type | Method and Description |
---|---|
void |
generate(List<DatamodelMetadataInput> datamodelMetadataInput,
Path outputDirectory)
Generates metadata about the Virtual Data Model.
|
boolean |
isMetadataGenerationEnabled()
Checks if metadata generation is enabled along with the datamodel generation.
|
public boolean isMetadataGenerationEnabled()
public void generate(@Nonnull List<DatamodelMetadataInput> datamodelMetadataInput, @Nonnull Path outputDirectory)
MetadataGenerationException
in case of an error.
By calling isMetadataGenerationEnabled()
you can check beforehand if the required configuration file is
existing within the input directory. If that is not the case, you can omit calling this method.datamodelMetadataInput
- The list of DatamodelMetadataInput
used for generation.outputDirectory
- The directory where the generated files should be written.Copyright © 2021 SAP SE. All rights reserved.