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 plugin
- artifactId- the Maven artifactId of the plugin
- minVersion- the minimum version required for Maven 4 compatibility
- reason- the reason why this plugin needs to be upgraded
- 
Constructor SummaryConstructorsConstructorDescriptionPluginUpgrade(String groupId, String artifactId, String minVersion, String reason) Creates an instance of aPluginUpgraderecord class.
- 
Method SummaryModifier 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- 
PluginUpgradeCreates an instance of aPluginUpgraderecord class.- Parameters:
- groupId- the value for the- groupIdrecord component
- artifactId- the value for the- artifactIdrecord component
- minVersion- the value for the- minVersionrecord component
- reason- the value for the- reasonrecord component
 
 
- 
- 
Method Details- 
toString
- 
hashCode
- 
equalsIndicates 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
- 
artifactIdReturns the value of theartifactIdrecord component.- Returns:
- the value of the artifactIdrecord component
 
- 
minVersionReturns the value of theminVersionrecord component.- Returns:
- the value of the minVersionrecord component
 
- 
reason
 
-