Package io.micronaut.context
Record Class BeanResolutionTraceConfiguration
java.lang.Object
java.lang.Record
io.micronaut.context.BeanResolutionTraceConfiguration
- Record Components:
mode- The modeclassPatterns- The class patterns to includedestination- The destination to write data to if applicable.
public record BeanResolutionTraceConfiguration(BeanResolutionTraceMode mode, Set<String> classPatterns, @Nullable String destination)
extends Record
Configuration for tracing of bean resolution.
-
Constructor Summary
ConstructorsConstructorDescriptionBeanResolutionTraceConfiguration(BeanResolutionTraceMode mode, Set<String> classPatterns, @Nullable String destination) Creates an instance of aBeanResolutionTraceConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassPatternsrecord component.Returns the value of thedestinationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mode()Returns the value of themoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BeanResolutionTraceConfiguration
public BeanResolutionTraceConfiguration(BeanResolutionTraceMode mode, Set<String> classPatterns, @Nullable @Nullable String destination) Creates an instance of aBeanResolutionTraceConfigurationrecord class.- Parameters:
mode- the value for themoderecord componentclassPatterns- the value for theclassPatternsrecord componentdestination- the value for thedestinationrecord component
-
BeanResolutionTraceConfiguration
public BeanResolutionTraceConfiguration()
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
classPatterns
Returns the value of theclassPatternsrecord component.- Returns:
- the value of the
classPatternsrecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-