Class DisabledBeansControlPanel
java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<DisabledBeansControlPanel.Body>
io.micronaut.controlpanel.panels.management.beans.DisabledBeansControlPanel
- All Implemented Interfaces:
ConfigurableControlPanel,ControlPanel<DisabledBeansControlPanel.Body>,io.micronaut.core.naming.Named,io.micronaut.core.order.Ordered,io.micronaut.core.util.Toggleable
@Singleton
@Refreshable
@Requires(property="micronaut.control-panel.panels.disabled-beans.enabled",
notEquals="false")
public class DisabledBeansControlPanel
extends AbstractControlPanel<DisabledBeansControlPanel.Body>
A control panel that displays information about disabled beans in the application context.
- Since:
- 2.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThe body of this control panel, containing a collection of disabled beans.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
ConstructorsModifierConstructorDescriptionprotectedDisabledBeansControlPanel(ControlPanelConfiguration configuration, io.micronaut.context.BeanContext beanContext) -
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, getDetailedView, hasDetails
-
Field Details
-
NAME
- See Also:
-
ENABLED_PROPERTY
- See Also:
-
-
Constructor Details
-
DisabledBeansControlPanel
protected DisabledBeansControlPanel(@Named("disabled-beans") ControlPanelConfiguration configuration, io.micronaut.context.BeanContext beanContext)
-
-
Method Details
-
getBody
Description copied from interface:ControlPanelUsed to render the body of the control panel.- Returns:
- the body of the control panel.
-
getCategory
Description copied from interface:ControlPanelThe category of the control panel.- Returns:
- the category 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.
-