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
ConstructorDescriptionBeanResolutionTraceConfiguration
(BeanResolutionTraceMode mode, Set<String> classPatterns, @Nullable String destination) Creates an instance of aBeanResolutionTraceConfiguration
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassPatterns
record component.Returns the value of thedestination
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.mode()
Returns the value of themode
record component.final String
toString()
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 aBeanResolutionTraceConfiguration
record class.- Parameters:
mode
- the value for themode
record componentclassPatterns
- the value for theclassPatterns
record componentdestination
- the value for thedestination
record 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 themode
record component.- Returns:
- the value of the
mode
record component
-
classPatterns
Returns the value of theclassPatterns
record component.- Returns:
- the value of the
classPatterns
record component
-
destination
Returns the value of thedestination
record component.- Returns:
- the value of the
destination
record component
-