Class AddDependency
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.java.dependencies.AddDependency
- All Implemented Interfaces:
Cloneable
public class AddDependency
extends org.openrewrite.Recipe
-
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, PANIC -
Constructor Summary
ConstructorsConstructorDescriptionAddDependency(String groupId, String artifactId, @Nullable String version, @Nullable String versionPattern, String onlyIfUsing, @Nullable String classifier, @Nullable String familyPattern, @Nullable String extension, @Nullable String configuration, @Nullable String scope, @Nullable Boolean releasesOnly, @Nullable String type, @Nullable Boolean optional, @Nullable Boolean acceptTransitive) -
Method Summary
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, validateAll
-
Constructor Details
-
AddDependency
public AddDependency(String groupId, String artifactId, @Nullable @Nullable String version, @Nullable @Nullable String versionPattern, String onlyIfUsing, @Nullable @Nullable String classifier, @Nullable @Nullable String familyPattern, @Nullable @Nullable String extension, @Nullable @Nullable String configuration, @Nullable @Nullable String scope, @Nullable @Nullable Boolean releasesOnly, @Nullable @Nullable String type, @Nullable @Nullable Boolean optional, @Nullable @Nullable Boolean acceptTransitive)
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
getRecipeList
- Overrides:
getRecipeListin classorg.openrewrite.Recipe
-