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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents the body of this control panel.static final recordRepresents a single info node rendered by the recursive templates.static final recordRepresents a flattened info row rendered by the detail template.static final recordRepresents a high-value metadata item rendered in the summary.Nested classes/interfaces inherited from interface ControlPanel
ControlPanel.Category, ControlPanel.View -
Field Summary
FieldsFields inherited from class AbstractControlPanel
configuration, controlPanelNameFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionInfoControlPanel(io.micronaut.management.endpoint.info.InfoAggregator<Map<String, Object>> infoAggregator, io.micronaut.management.endpoint.info.InfoSource[] infoSources, ControlPanelConfiguration configuration) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ControlPanel
getBadge, getBodyView, getCategory, getDetailedView, getDetailLinkName, hasDetails
-
Field Details
-
NAME
- See Also:
-
ENABLED_PROPERTY
- See Also:
-
-
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
Description copied from interface:ControlPanelUsed to render the body of the control panel.- Returns:
- the body of the control panel.
-