Record Class PluginUpgrade
java.lang.Object
java.lang.Record
org.apache.maven.cling.invoker.mvnup.goals.PluginUpgrade
- Record Components:
groupId- the Maven groupId of the pluginartifactId- the Maven artifactId of the pluginminVersion- the minimum version required for Maven 4 compatibilityreason- the reason why this plugin needs to be upgraded
-
Constructor Summary
ConstructorsConstructorDescriptionPluginUpgrade(String groupId, String artifactId, String minVersion, String reason) Creates an instance of aPluginUpgraderecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theartifactIdrecord component.final booleanIndicates whether some other object is "equal to" this one.groupId()Returns the value of thegroupIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theminVersionrecord component.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PluginUpgrade
Creates an instance of aPluginUpgraderecord class.- Parameters:
groupId- the value for thegroupIdrecord componentartifactId- the value for theartifactIdrecord componentminVersion- the value for theminVersionrecord componentreason- the value for thereasonrecord component
-
-
Method Details
-
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). -
groupId
-
artifactId
Returns the value of theartifactIdrecord component.- Returns:
- the value of the
artifactIdrecord component
-
minVersion
Returns the value of theminVersionrecord component.- Returns:
- the value of the
minVersionrecord component
-
reason
-