Record Class InfoControlPanel.Body
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.management.InfoControlPanel.Body
- Record Components:
sections- the top-level info sectionsrows- flattened scalar info rowssummaryItems- common high-value metadata rows
- Enclosing class:
InfoControlPanel
public static record InfoControlPanel.Body(List<InfoControlPanel.InfoNode> sections, List<InfoControlPanel.InfoRow> rows, List<InfoControlPanel.SummaryItem> summaryItems)
extends Record
Represents the body of this control panel.
- Since:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionBody(List<InfoControlPanel.InfoNode> sections, List<InfoControlPanel.InfoRow> rows, List<InfoControlPanel.SummaryItem> summaryItems) Creates an instance of aBodyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.rows()Returns the value of therowsrecord component.sections()Returns the value of thesectionsrecord component.Returns the value of thesummaryItemsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Body
public Body(List<InfoControlPanel.InfoNode> sections, List<InfoControlPanel.InfoRow> rows, List<InfoControlPanel.SummaryItem> summaryItems) Creates an instance of aBodyrecord class.- Parameters:
sections- the value for thesectionsrecord componentrows- the value for therowsrecord componentsummaryItems- the value for thesummaryItemsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
sections
-
rows
-
summaryItems
Returns the value of thesummaryItemsrecord component.- Returns:
- the value of the
summaryItemsrecord component
-