Class DistributionInstaller


  • public class DistributionInstaller
    extends java.lang.Object
    Component that downloads and installs a distribution.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void install()
      Installs a distribution: Empty the install directory. Resolve the URL to download the distribution. Download the distribution. Validate the downloaded distribution. Explode the distribution archive. Delete the distribution archive and all unnecessary files.
      • Methods inherited from class java.lang.Object

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

      • install

        public void install()
                     throws DistributionInstallerException
        Installs a distribution:
        • Empty the install directory.
        • Resolve the URL to download the distribution.
        • Download the distribution.
        • Validate the downloaded distribution.
        • Explode the distribution archive.
        • Delete the distribution archive and all unnecessary files.
        Throws:
        DistributionInstallerException - If the installer failed.