public class DiagnosticRenderer extends java.lang.Object implements ReportRenderer<DiagnosticConfig>
Commands rendered in registration order. All commands are rendered with SCAN marker to indicate classpath scanning. Environment commands are also marked with GUICE_ENABLED to indicate that only these commands may use guice injections.
Bundles rendered as tree to indicate transitive installations. Dropwizard and guicey bundles are rendered together: first dropwizard bundles (because they actually register first) and then guicey. Possible markers:
Installers are rendered in execution order. Extensions (if enabled) are rendered relative to used installer. Not used and disabled installers could be rendered too. If installer resolved by classpath scan then SCAN marker shown.
Installer report could contain installer interface markers in order to indicate installer abilities:
If extensions print enabled without installers enabled then all extensions are rendered in registration order. Markers:
GuiceyConfigurationHookLazyBinding
annotation setJerseyManaged)Guice modules are rendered by type in registration order. OVERRIDE marker may appear if module was registered as overriding.
When item registered multiple times marker REG(N/M) shown where N - accepted registrations count and M - overall registrations count. For class based registarions it would always be REG(1/M). For instance registrations any items count could be accepted (according to deduplication logic).
for diagnostic data source| Constructor and Description |
|---|
DiagnosticRenderer(GuiceyConfigurationInfo service) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
renderReport(DiagnosticConfig config)
Renders diagnostic report according to config.
|
public DiagnosticRenderer(GuiceyConfigurationInfo service)
public java.lang.String renderReport(DiagnosticConfig config)
renderReport in interface ReportRenderer<DiagnosticConfig>config - print config