Class DistributionInstaller


  • public class DistributionInstaller
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DistributionInstaller​(org.gradle.internal.logging.progress.ProgressLoggerFactory progressLoggerFactory, InternalBuildProgressListener buildProgressListener, org.gradle.internal.time.Clock clock)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()
      Cancels the current installation, if running.
      java.io.File install​(java.io.File userHomeDir, java.io.File projectDir, org.gradle.wrapper.WrapperConfiguration wrapperConfiguration, java.util.Map<java.lang.String,​java.lang.String> systemProperties)
      Installs the distribution and returns the result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DistributionInstaller

        public DistributionInstaller​(org.gradle.internal.logging.progress.ProgressLoggerFactory progressLoggerFactory,
                                     InternalBuildProgressListener buildProgressListener,
                                     org.gradle.internal.time.Clock clock)
    • Method Detail

      • install

        public java.io.File install​(java.io.File userHomeDir,
                                    java.io.File projectDir,
                                    org.gradle.wrapper.WrapperConfiguration wrapperConfiguration,
                                    java.util.Map<java.lang.String,​java.lang.String> systemProperties)
                             throws java.lang.Exception
        Installs the distribution and returns the result.
        Throws:
        java.lang.Exception
      • cancel

        public void cancel()
        Cancels the current installation, if running.