Package org.openrewrite.maven.internal
Class VersionRequirement
java.lang.Object
org.openrewrite.maven.internal.VersionRequirement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRequirement(String requested) static VersionRequirementfromVersion(String requested, int depth) @Nullable Stringresolve(DownloadOperation<Iterable<String>> availableVersions) @Nullable Stringresolve(GroupArtifact groupArtifact, MavenPomDownloader downloader, List<MavenRepository> repositories) toString()
-
Constructor Details
-
VersionRequirement
public VersionRequirement()
-
-
Method Details
-
toString
-
fromVersion
-
addRequirement
-
resolve
@Nullable public @Nullable String resolve(DownloadOperation<Iterable<String>> availableVersions) throws MavenDownloadingException - Throws:
MavenDownloadingException
-
resolve
@Nullable public @Nullable String resolve(GroupArtifact groupArtifact, MavenPomDownloader downloader, List<MavenRepository> repositories) throws MavenDownloadingException - Throws:
MavenDownloadingException
-