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 module
identifyingConfig - 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 Details

    • ComparableDevServicesConfig

      public ComparableDevServicesConfig(UUID applicationInstanceId, DevServiceOwner owner, Object globalConfig, Object identifyingConfig)
      Creates an instance of a ComparableDevServicesConfig record class.
      Parameters:
      applicationInstanceId - the value for the applicationInstanceId record component
      owner - the value for the owner record component
      globalConfig - the value for the globalConfig record component
      identifyingConfig - the value for the identifyingConfig record component
  • Method Details

    • equals

      public boolean equals(Object o)
      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 Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • applicationInstanceId

      public UUID applicationInstanceId()
      Returns the value of the applicationInstanceId record component.
      Returns:
      the value of the applicationInstanceId record component
    • owner

      public DevServiceOwner owner()
      Returns the value of the owner record component.
      Returns:
      the value of the owner record component
    • globalConfig

      public Object globalConfig()
      Returns the value of the globalConfig record component.
      Returns:
      the value of the globalConfig record component
    • identifyingConfig

      public Object identifyingConfig()
      Returns the value of the identifyingConfig record component.
      Returns:
      the value of the identifyingConfig record component