Class 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.model.gradle.QuarkusModel model)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLatestVersion​(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.lang.String upToVersion, boolean inclusive)  
      java.lang.String getLatestVersionFromRange​(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.lang.String range)  
      java.lang.String getNextVersion​(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)  
      void relink​(io.quarkus.bootstrap.model.AppArtifact appArtifact, java.nio.file.Path localPath)  
      java.nio.file.Path resolve​(io.quarkus.bootstrap.model.AppArtifact appArtifact)  
      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)  
      io.quarkus.bootstrap.model.AppModel resolveModel​(io.quarkus.bootstrap.model.AppArtifact appArtifact)  
      io.quarkus.bootstrap.model.AppModel resolveModel​(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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.quarkus.bootstrap.resolver.AppModelResolver

        resolveUserDependencies
    • Constructor Detail

      • AppModelGradleResolver

        public AppModelGradleResolver​(org.gradle.api.Project project,
                                      io.quarkus.bootstrap.model.gradle.QuarkusModel model)
    • 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:
        getLatestVersion in interface io.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:
        getLatestVersionFromRange in interface io.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:
        getNextVersion in interface io.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:
        listLaterVersions in interface io.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:
        relink in interface io.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:
        resolve in interface io.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:
        resolveUserDependencies in interface io.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:
        resolveModel in interface io.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:
        resolveModel in interface io.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:
        resolveManagedModel in interface io.quarkus.bootstrap.resolver.AppModelResolver
        Throws:
        io.quarkus.bootstrap.resolver.AppModelResolverException