Class ConfigBindingsRenderer
java.lang.Object
ru.vyarus.dropwizard.guice.debug.report.yaml.ConfigBindingsRenderer
- All Implemented Interfaces:
ReportRenderer<BindingsConfig>
Renders available configuration bindings.
By default all not null bindings are rendered. Optional renders:
- With configuration tree
- Configuration tree only
- Show null values
- Hide dropwizard Configuration properties
- Since:
- 13.06.2018
-
Constructor Summary
ConstructorsConstructorDescriptionCreate configuration renderer. -
Method Summary
Modifier and TypeMethodDescriptionrenderReport(BindingsConfig config) Renders report according ro provided config.
-
Constructor Details
-
ConfigBindingsRenderer
Create configuration renderer.- Parameters:
tree- parsed configuration
-
-
Method Details
-
renderReport
Description copied from interface:ReportRendererRenders report according ro provided config.- Specified by:
renderReportin interfaceReportRenderer<BindingsConfig>- Parameters:
config- config object- Returns:
- rendered report string or null (or empty) if nothing rendered
-