Record Class BeansControlPanel.Body
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.management.beans.BeansControlPanel.Body
- Record Components:
micronautBeansByPackage- a map of Micronaut beans by packageotherBeansByPackage- a map of non-Micronaut beans by packagebeanDefinitionsCount- the number of bean definitions loaded in the application
- Enclosing class:
BeansControlPanel
public static record BeansControlPanel.Body(Map<String, List<Map<String,Object>>> micronautBeansByPackage, Map<String, List<Map<String,Object>>> otherBeansByPackage, long beanDefinitionsCount)
extends Record
The body of the panel, which contains information about the Micronaut and non-Micronaut beans loaded in the application.
- Since:
- 1.0.0
- Author:
- Álvaro Sánchez-Mariscal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thebeanDefinitionsCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themicronautBeansByPackagerecord component.Returns the value of theotherBeansByPackagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Body
public Body(Map<String, List<Map<String, Object>>> micronautBeansByPackage, Map<String, List<Map<String, Object>>> otherBeansByPackage, long beanDefinitionsCount) Creates an instance of aBodyrecord class.- Parameters:
micronautBeansByPackage- the value for themicronautBeansByPackagerecord componentotherBeansByPackage- the value for theotherBeansByPackagerecord componentbeanDefinitionsCount- the value for thebeanDefinitionsCountrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
micronautBeansByPackage
Returns the value of themicronautBeansByPackagerecord component.- Returns:
- the value of the
micronautBeansByPackagerecord component
-
otherBeansByPackage
Returns the value of theotherBeansByPackagerecord component.- Returns:
- the value of the
otherBeansByPackagerecord component
-
beanDefinitionsCount
public long beanDefinitionsCount()Returns the value of thebeanDefinitionsCountrecord component.- Returns:
- the value of the
beanDefinitionsCountrecord component
-