Package org.codehaus.cargo.ant
Class ZipURLInstallerElement
- java.lang.Object
-
- org.codehaus.cargo.ant.ZipURLInstallerElement
-
public class ZipURLInstallerElement extends Object
Nested Ant element to wrap theZipURLInstallerclass.
-
-
Constructor Summary
Constructors Constructor Description ZipURLInstallerElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZipURLInstallercreateInstaller()ProxycreateProxy()StringgetDownloadDir()StringgetExtractDir()URLgetInstallURL()ProxygetProxy()voidsetDownloadDir(String downloadDir)voidsetExtractDir(String extractDir)voidsetInstallURL(URL installURL)
-
-
-
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.
-
setInstallURL
public void setInstallURL(URL installURL)
- Parameters:
installURL- the install URL to download container from
-
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.
-
getInstallURL
public URL getInstallURL()
- Returns:
- the install URL to download container from
-
getProxy
public Proxy getProxy()
- Returns:
- proxy properties.
-
createInstaller
public ZipURLInstaller createInstaller()
- Returns:
- a new instance of
ZipURLInstallerconfigured using the attributes specified by the user
-
-