Record Class ExtensionsCatalog
java.lang.Object
java.lang.Record
io.quarkus.observability.devresource.ExtensionsCatalog
public record ExtensionsCatalog(Function<String,Boolean> resourceChecker, Function<String,Boolean> classChecker, boolean hasOpenTelemetry, boolean hasMicrometerOtlp)
extends Record
Relevant Observability extensions present.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassCheckerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehasMicrometerOtlprecord component.booleanReturns the value of thehasOpenTelemetryrecord component.Returns the value of theresourceCheckerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExtensionsCatalog
public ExtensionsCatalog(Function<String, Boolean> resourceChecker, Function<String, Boolean> classChecker, boolean hasOpenTelemetry, boolean hasMicrometerOtlp) Creates an instance of aExtensionsCatalogrecord class.- Parameters:
resourceChecker- the value for theresourceCheckerrecord componentclassChecker- the value for theclassCheckerrecord componenthasOpenTelemetry- the value for thehasOpenTelemetryrecord componenthasMicrometerOtlp- the value for thehasMicrometerOtlprecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
resourceChecker
Returns the value of theresourceCheckerrecord component.- Returns:
- the value of the
resourceCheckerrecord component
-
classChecker
Returns the value of theclassCheckerrecord component.- Returns:
- the value of the
classCheckerrecord component
-
hasOpenTelemetry
public boolean hasOpenTelemetry()Returns the value of thehasOpenTelemetryrecord component.- Returns:
- the value of the
hasOpenTelemetryrecord component
-
hasMicrometerOtlp
public boolean hasMicrometerOtlp()Returns the value of thehasMicrometerOtlprecord component.- Returns:
- the value of the
hasMicrometerOtlprecord component
-