Class RoutesControlPanel

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

@Singleton @Refreshable @Requires(property="micronaut.control-panel.panels.routes.enabled", notEquals="false") public class RoutesControlPanel extends AbstractControlPanel<io.micronaut.controlpanel.core.panels.RoutesControlPanel.Body>
Control panel that displays information about the available routes.
Since:
1.0.0
Author:
Álvaro Sánchez-Mariscal
  • Field Details

  • Constructor Details

    • RoutesControlPanel

      public RoutesControlPanel(io.micronaut.web.router.Router router, @Named("routes") ControlPanelConfiguration configuration)
  • Method Details

    • getBody

      public io.micronaut.controlpanel.core.panels.RoutesControlPanel.Body getBody()
      Description copied from interface: ControlPanel
      Used to render the body of the control panel.
      Returns:
      the body of the control panel.
    • getBadge

      public String getBadge()
      Description copied from interface: ControlPanel
      Badge text to be displayed in the header of the card UI element.
      Returns:
      the badge text of the control panel.