Class InfoControlPanel

java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<InfoControlPanel.Body>
io.micronaut.controlpanel.panels.management.InfoControlPanel
All Implemented Interfaces:
ConfigurableControlPanel, ControlPanel<InfoControlPanel.Body>, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable

@Singleton @Requires(beans=io.micronaut.management.endpoint.info.InfoEndpoint.class) @Requires(property="micronaut.control-panel.panels.info.enabled",notEquals="false") public class InfoControlPanel extends AbstractControlPanel<InfoControlPanel.Body>
Control panel that displays information from the application info endpoint.
Since:
2.0.0
  • Field Details

  • Constructor Details

    • InfoControlPanel

      public InfoControlPanel(io.micronaut.management.endpoint.info.InfoAggregator<Map<String,Object>> infoAggregator, io.micronaut.management.endpoint.info.InfoSource[] infoSources, @Named("info") ControlPanelConfiguration configuration)
  • Method Details

    • getBody

      public InfoControlPanel.Body getBody()
      Description copied from interface: ControlPanel
      Used to render the body of the control panel.
      Returns:
      the body of the control panel.