public class JsonConfigurationMetadataWriter extends Object implements ConfigurationMetadataWriter
ConfigurationMetadataWriter
that writes out metadata in the format defined by
spring-configuration-metadata.json.Constructor and Description |
---|
JsonConfigurationMetadataWriter() |
Modifier and Type | Method and Description |
---|---|
protected String |
getFileName() |
void |
write(ConfigurationMetadataBuilder<?> metadataBuilder,
ClassWriterOutputVisitor classWriterOutputVisitor)
An interface for classes that can write metadata produced by a
ConfigurationMetadataBuilder . |
public void write(ConfigurationMetadataBuilder<?> metadataBuilder, ClassWriterOutputVisitor classWriterOutputVisitor) throws IOException
ConfigurationMetadataWriter
ConfigurationMetadataBuilder
.write
in interface ConfigurationMetadataWriter
metadataBuilder
- The metadata builderclassWriterOutputVisitor
- The class output visitorIOException
- If an error occurred writing outputprotected String getFileName()