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
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.controlpanel.core.ControlPanel
ControlPanel.Category, ControlPanel.View -
Field Summary
FieldsFields inherited from class io.micronaut.controlpanel.core.AbstractControlPanel
configuration, controlPanelNameFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionRoutesControlPanel(io.micronaut.web.router.Router router, ControlPanelConfiguration configuration) -
Method Summary
Methods inherited from class io.micronaut.controlpanel.core.AbstractControlPanel
getIcon, getName, getOrder, getTitle, isEnabledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.controlpanel.core.ControlPanel
getBodyView, getCategory, getDetailedView
-
Field Details
-
NAME
- See Also:
-
ENABLED_PROPERTY
- See Also:
-
-
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:ControlPanelUsed to render the body of the control panel.- Returns:
- the body of the control panel.
-
getBadge
Description copied from interface:ControlPanelBadge text to be displayed in the header of the card UI element.- Returns:
- the badge text of the control panel.
-