Record Class ModellingTracingSettings.SpanAttributesProviders
java.lang.Object
java.lang.Record
org.axonframework.modelling.tracing.configuration.ModellingTracingSettings.SpanAttributesProviders
- Record Components:
aggregateIdentifierEnabled- whether theAggregateIdentifierSpanAttributesProvideris contributed
- Enclosing class:
ModellingTracingSettings
public static record ModellingTracingSettings.SpanAttributesProviders(boolean aggregateIdentifierEnabled)
extends Record
Toggles for the built-in
SpanAttributesProviders contributed by the
axon-modelling module (read by
ModellingSpanAttributesProviderConfigurationEnhancer).-
Constructor Summary
ConstructorsConstructorDescriptionSpanAttributesProviders(boolean aggregateIdentifierEnabled) Creates an instance of aSpanAttributesProvidersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theaggregateIdentifierEnabledrecord component.Returns the default provider toggles, with every built-in provider enabled.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
-
SpanAttributesProviders
public SpanAttributesProviders(boolean aggregateIdentifierEnabled) Creates an instance of aSpanAttributesProvidersrecord class.- Parameters:
aggregateIdentifierEnabled- the value for theaggregateIdentifierEnabledrecord component
-
-
Method Details
-
enabledByDefault
Returns the default provider toggles, with every built-in provider enabled.- Returns:
- the all-enabled default provider toggles
-
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 with '=='. -
aggregateIdentifierEnabled
public boolean aggregateIdentifierEnabled()Returns the value of theaggregateIdentifierEnabledrecord component.- Returns:
- the value of the
aggregateIdentifierEnabledrecord component
-