Record Class ConfigurableVersionProperty
java.lang.Object
java.lang.Record
io.micronaut.gradle.internal.ConfigurableVersionProperty
- Record Components:
name- the simple name of the propertydslName- the name in the DSLgradlePropertyName- the name of the gradle property
public record ConfigurableVersionProperty(String name, String dslName, String gradlePropertyName, String platformCatalogName)
extends Record
A configurable version property is a property which is found
in the DSL, as a type-safe accessor, allowing to override a
particular version of a dependency which is automatically
added by the Gradle plugin.
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurableVersionProperty(String name, String dslName, String gradlePropertyName, String platformCatalogName) Creates an instance of aConfigurableVersionPropertyrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondslName()Returns the value of thedslNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegradlePropertyNamerecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.static ConfigurableVersionPropertyReturns the value of theplatformCatalogNamerecord component.final StringtoString()Returns a string representation of this record class.withPlatformCatalogName(String platformCatalogName)
-
Constructor Details
-
ConfigurableVersionProperty
public ConfigurableVersionProperty(String name, String dslName, String gradlePropertyName, String platformCatalogName) Creates an instance of aConfigurableVersionPropertyrecord class.- Parameters:
name- the value for thenamerecord componentdslName- the value for thedslNamerecord componentgradlePropertyName- the value for thegradlePropertyNamerecord componentplatformCatalogName- the value for theplatformCatalogNamerecord component
-
-
Method Details
-
of
-
withPlatformCatalogName
-
toString
-
hashCode
-
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). -
name
-
dslName
-
gradlePropertyName
Returns the value of thegradlePropertyNamerecord component.- Returns:
- the value of the
gradlePropertyNamerecord component
-
platformCatalogName
Returns the value of theplatformCatalogNamerecord component.- Returns:
- the value of the
platformCatalogNamerecord component
-