Record Class InfoControlPanel.InfoNode
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.management.InfoControlPanel.InfoNode
- Record Components:
name- the original node namedisplayName- the display namevalue- the scalar valuechildren- nested child nodes
- Enclosing class:
InfoControlPanel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
InfoNode
public InfoNode(String name, String displayName, String value, List<InfoControlPanel.InfoNode> children) Creates an instance of aInfoNoderecord class.- Parameters:
name- the value for thenamerecord componentdisplayName- the value for thedisplayNamerecord componentvalue- the value for thevaluerecord componentchildren- the value for thechildrenrecord 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). -
name
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
value
-
children
-