Class UpgradeDependencyVersion

java.lang.Object
org.openrewrite.Recipe
org.openrewrite.java.dependencies.UpgradeDependencyVersion
All Implemented Interfaces:
Cloneable

public class UpgradeDependencyVersion extends org.openrewrite.Recipe
  • Field Summary

    Fields inherited from class org.openrewrite.Recipe

    contributors, examples, PANIC
  • Constructor Summary

    Constructors
    Constructor
    Description
    UpgradeDependencyVersion(String groupId, String artifactId, String newVersion, @Nullable String versionPattern, @Nullable Boolean overrideManagedVersion, @Nullable List<String> retainVersions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    List<org.openrewrite.Recipe>
     

    Methods inherited from class org.openrewrite.Recipe

    addDataTable, causesAnotherCycle, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getJacksonPolymorphicTypeTag, getMaintainers, getName, getTags, getVisitor, hashCode, maxCycles, noop, run, run, run, setContributors, setExamples, validate, validate, validateAll

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UpgradeDependencyVersion

      public UpgradeDependencyVersion(String groupId, String artifactId, String newVersion, @Nullable @Nullable String versionPattern, @Nullable @Nullable Boolean overrideManagedVersion, @Nullable @Nullable List<String> retainVersions)
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in class org.openrewrite.Recipe
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in class org.openrewrite.Recipe
    • getRecipeList

      public List<org.openrewrite.Recipe> getRecipeList()
      Overrides:
      getRecipeList in class org.openrewrite.Recipe