Class ZipUrlInstaller


  • public class ZipUrlInstaller
    extends Object
    Holds configuration data for the <zipUrlInstaller> tag used to configure the plugin in the pom.xml file.
    • Field Detail

      • EXTRACT_SUBDIRECTORY

        public static final String EXTRACT_SUBDIRECTORY
        Default extraction subdirectory.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ZipUrlInstaller

        public ZipUrlInstaller()
    • Method Detail

      • setDownloadDir

        public void setDownloadDir​(String downloadDir)
        Parameters:
        downloadDir - the destination directory where the zipped container install will be downloaded.
      • setExtractDir

        public void setExtractDir​(String extractDir)
        Parameters:
        extractDir - the destination directory where the zipped container install will be installed.
      • setUrl

        public void setUrl​(URL url)
        Parameters:
        url - URL where to find the zipped container installation file.
      • getDownloadDir

        public String getDownloadDir()
        Returns:
        the destination directory where the zipped container install will be downloaded.
      • getExtractDir

        public String getExtractDir()
        Returns:
        the destination directory where the zipped container install will be installed.
      • getUrl

        public URL getUrl()
        Returns:
        URL where to find the zipped container installation file.
      • getProxy

        public Proxy getProxy()
        Returns:
        Proxy properties.
      • createProxy

        public Proxy createProxy()
        Returns:
        The configured Proxy element.
      • createInstaller

        public ZipURLInstaller createInstaller​(String projectBuildDirectory)
        Creates the ZipURLInstaller with the appropriate configuration.
        Parameters:
        projectBuildDirectory - Project build directory.
        Returns:
        a new instance of ZipURLInstaller configured using the attributes specified by the user