Package io.quarkus.gradle
Class AppModelGradleResolver
- java.lang.Object
-
- io.quarkus.gradle.AppModelGradleResolver
-
- All Implemented Interfaces:
io.quarkus.bootstrap.resolver.AppModelResolver
public class AppModelGradleResolver extends java.lang.Object implements io.quarkus.bootstrap.resolver.AppModelResolver
-
-
Constructor Summary
Constructors Constructor Description AppModelGradleResolver(org.gradle.api.Project project, io.quarkus.bootstrap.resolver.model.QuarkusModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLatestVersion(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.lang.String upToVersion, boolean inclusive)java.lang.StringgetLatestVersionFromRange(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.lang.String range)java.lang.StringgetNextVersion(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.lang.String fromVersion, boolean fromVersionIncluded, java.lang.String upToVersion, boolean upToVersionIncluded)java.util.List<java.lang.String>listLaterVersions(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.lang.String upToVersion, boolean inclusive)voidrelink(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.nio.file.Path localPath)java.nio.file.Pathresolve(io.quarkus.bootstrap.model.AppArtifact appArtifact)io.quarkus.bootstrap.model.AppModelresolveManagedModel(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.util.List<io.quarkus.bootstrap.model.AppDependency> directDeps, io.quarkus.bootstrap.model.AppArtifact managingProject, java.util.Set<io.quarkus.bootstrap.model.AppArtifactKey> localProjects)io.quarkus.bootstrap.model.AppModelresolveModel(io.quarkus.bootstrap.model.AppArtifact appArtifact)io.quarkus.bootstrap.model.AppModelresolveModel(io.quarkus.bootstrap.model.AppArtifact root, java.util.List<io.quarkus.bootstrap.model.AppDependency> deps)java.util.List<io.quarkus.bootstrap.model.AppDependency>resolveUserDependencies(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.util.List<io.quarkus.bootstrap.model.AppDependency> directDeps)
-
-
-
Method Detail
-
getLatestVersion
public java.lang.String getLatestVersion(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.lang.String upToVersion, boolean inclusive) throws io.quarkus.bootstrap.resolver.AppModelResolverException- Specified by:
getLatestVersionin interfaceio.quarkus.bootstrap.resolver.AppModelResolver- Throws:
io.quarkus.bootstrap.resolver.AppModelResolverException
-
getLatestVersionFromRange
public java.lang.String getLatestVersionFromRange(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.lang.String range) throws io.quarkus.bootstrap.resolver.AppModelResolverException- Specified by:
getLatestVersionFromRangein interfaceio.quarkus.bootstrap.resolver.AppModelResolver- Throws:
io.quarkus.bootstrap.resolver.AppModelResolverException
-
getNextVersion
public java.lang.String getNextVersion(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.lang.String fromVersion, boolean fromVersionIncluded, java.lang.String upToVersion, boolean upToVersionIncluded) throws io.quarkus.bootstrap.resolver.AppModelResolverException- Specified by:
getNextVersionin interfaceio.quarkus.bootstrap.resolver.AppModelResolver- Throws:
io.quarkus.bootstrap.resolver.AppModelResolverException
-
listLaterVersions
public java.util.List<java.lang.String> listLaterVersions(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.lang.String upToVersion, boolean inclusive) throws io.quarkus.bootstrap.resolver.AppModelResolverException- Specified by:
listLaterVersionsin interfaceio.quarkus.bootstrap.resolver.AppModelResolver- Throws:
io.quarkus.bootstrap.resolver.AppModelResolverException
-
relink
public void relink(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.nio.file.Path localPath) throws io.quarkus.bootstrap.resolver.AppModelResolverException- Specified by:
relinkin interfaceio.quarkus.bootstrap.resolver.AppModelResolver- Throws:
io.quarkus.bootstrap.resolver.AppModelResolverException
-
resolve
public java.nio.file.Path resolve(io.quarkus.bootstrap.model.AppArtifact appArtifact) throws io.quarkus.bootstrap.resolver.AppModelResolverException- Specified by:
resolvein interfaceio.quarkus.bootstrap.resolver.AppModelResolver- Throws:
io.quarkus.bootstrap.resolver.AppModelResolverException
-
resolveUserDependencies
public java.util.List<io.quarkus.bootstrap.model.AppDependency> resolveUserDependencies(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.util.List<io.quarkus.bootstrap.model.AppDependency> directDeps)- Specified by:
resolveUserDependenciesin interfaceio.quarkus.bootstrap.resolver.AppModelResolver
-
resolveModel
public io.quarkus.bootstrap.model.AppModel resolveModel(io.quarkus.bootstrap.model.AppArtifact appArtifact) throws io.quarkus.bootstrap.resolver.AppModelResolverException- Specified by:
resolveModelin interfaceio.quarkus.bootstrap.resolver.AppModelResolver- Throws:
io.quarkus.bootstrap.resolver.AppModelResolverException
-
resolveModel
public io.quarkus.bootstrap.model.AppModel resolveModel(io.quarkus.bootstrap.model.AppArtifact root, java.util.List<io.quarkus.bootstrap.model.AppDependency> deps) throws io.quarkus.bootstrap.resolver.AppModelResolverException- Specified by:
resolveModelin interfaceio.quarkus.bootstrap.resolver.AppModelResolver- Throws:
io.quarkus.bootstrap.resolver.AppModelResolverException
-
resolveManagedModel
public io.quarkus.bootstrap.model.AppModel resolveManagedModel(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.util.List<io.quarkus.bootstrap.model.AppDependency> directDeps, io.quarkus.bootstrap.model.AppArtifact managingProject, java.util.Set<io.quarkus.bootstrap.model.AppArtifactKey> localProjects) throws io.quarkus.bootstrap.resolver.AppModelResolverException- Specified by:
resolveManagedModelin interfaceio.quarkus.bootstrap.resolver.AppModelResolver- Throws:
io.quarkus.bootstrap.resolver.AppModelResolverException
-
-