Record Class DisabledBeansControlPanel.Body
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.management.beans.DisabledBeansControlPanel.Body
- Record Components:
disabledBeans- the collection of disabled beans
- Enclosing class:
DisabledBeansControlPanel
public static record DisabledBeansControlPanel.Body(Collection<io.micronaut.context.DisabledBean<?>> disabledBeans)
extends Record
The body of this control panel, containing a collection of disabled beans.
- Since:
- 2.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Constructor Summary
ConstructorsConstructorDescriptionBody(Collection<io.micronaut.context.DisabledBean<?>> disabledBeans) Creates an instance of aBodyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionCollection<io.micronaut.context.DisabledBean<?>> Returns the value of thedisabledBeansrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Body
Creates an instance of aBodyrecord class.- Parameters:
disabledBeans- the value for thedisabledBeansrecord 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). -
disabledBeans
Returns the value of thedisabledBeansrecord component.- Returns:
- the value of the
disabledBeansrecord component
-