Record Class ComparableDevServicesConfig
java.lang.Object
java.lang.Record
io.quarkus.devservices.crossclassloader.runtime.ComparableDevServicesConfig
- Record Components:
globalConfig- should be a io.quarkus.deployment.dev.devservices.DevServicesConfig, but is not that type to avoid the dependency on the devservices moduleidentifyingConfig- a config object specific to the extension's dev services configuration
public record ComparableDevServicesConfig(UUID applicationInstanceId, DevServiceOwner owner, Object globalConfig, Object identifyingConfig)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionComparableDevServicesConfig(UUID applicationInstanceId, DevServiceOwner owner, Object globalConfig, Object identifyingConfig) Creates an instance of aComparableDevServicesConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationInstanceIdrecord component.booleanIndicates whether some other object is "equal to" this one.Returns the value of theglobalConfigrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifyingConfigrecord component.owner()Returns the value of theownerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ComparableDevServicesConfig
public ComparableDevServicesConfig(UUID applicationInstanceId, DevServiceOwner owner, Object globalConfig, Object identifyingConfig) Creates an instance of aComparableDevServicesConfigrecord class.- Parameters:
applicationInstanceId- the value for theapplicationInstanceIdrecord componentowner- the value for theownerrecord componentglobalConfig- the value for theglobalConfigrecord componentidentifyingConfig- the value for theidentifyingConfigrecord component
-
-
Method Details
-
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). -
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. -
applicationInstanceId
Returns the value of theapplicationInstanceIdrecord component.- Returns:
- the value of the
applicationInstanceIdrecord component
-
owner
Returns the value of theownerrecord component.- Returns:
- the value of the
ownerrecord component
-
globalConfig
Returns the value of theglobalConfigrecord component.- Returns:
- the value of the
globalConfigrecord component
-
identifyingConfig
Returns the value of theidentifyingConfigrecord component.- Returns:
- the value of the
identifyingConfigrecord component
-