Class JsonConfigurationMetadataWriter
java.lang.Object
io.micronaut.inject.configuration.JsonConfigurationMetadataWriter
- All Implemented Interfaces:
ConfigurationMetadataWriter
A
ConfigurationMetadataWriter
that writes out metadata in the format defined by
spring-configuration-metadata.json.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
void
write
(ConfigurationMetadataBuilder metadataBuilder, ClassWriterOutputVisitor classWriterOutputVisitor) An interface for classes that can write metadata produced by aConfigurationMetadataBuilder
.
-
Constructor Details
-
JsonConfigurationMetadataWriter
public JsonConfigurationMetadataWriter()
-
-
Method Details
-
write
public void write(ConfigurationMetadataBuilder metadataBuilder, ClassWriterOutputVisitor classWriterOutputVisitor) throws IOException Description copied from interface:ConfigurationMetadataWriter
An interface for classes that can write metadata produced by aConfigurationMetadataBuilder
.- Specified by:
write
in interfaceConfigurationMetadataWriter
- Parameters:
metadataBuilder
- The metadata builderclassWriterOutputVisitor
- The class output visitor- Throws:
IOException
- If an error occurred writing output
-
getFileName
- Returns:
- The file name
-