Package io.quarkus.deployment.builditem
Record Class DevServicesResultBuildItem.DevServiceConfigDependency<T extends Startable>
java.lang.Object
java.lang.Record
io.quarkus.deployment.builditem.DevServicesResultBuildItem.DevServiceConfigDependency<T>
- Enclosing class:
DevServicesResultBuildItem
-
Constructor Summary
ConstructorsConstructorDescriptionDevServiceConfigDependency(String requiredConfigKey, BiConsumer<T, String> valueInjector) Creates an instance of aDevServiceConfigDependencyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therequiredConfigKeyrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalueInjectorrecord component.
-
Constructor Details
-
DevServiceConfigDependency
DevServiceConfigDependency(String requiredConfigKey, BiConsumer<T, String> valueInjector) Creates an instance of aDevServiceConfigDependencyrecord class.- Parameters:
requiredConfigKey- the value for therequiredConfigKeyrecord componentvalueInjector- the value for thevalueInjectorrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
requiredConfigKey
Returns the value of therequiredConfigKeyrecord component.- Returns:
- the value of the
requiredConfigKeyrecord component
-
valueInjector
Returns the value of thevalueInjectorrecord component.- Returns:
- the value of the
valueInjectorrecord component
-