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 theZipURLInstaller
class.
-
-
Constructor Summary
Constructors Constructor Description ZipURLInstallerElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZipURLInstaller
createInstaller()
Proxy
createProxy()
String
getDownloadDir()
String
getExtractDir()
URL
getInstallURL()
Proxy
getProxy()
void
setDownloadDir(String downloadDir)
void
setExtractDir(String extractDir)
void
setInstallURL(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
ZipURLInstaller
configured using the attributes specified by the user
-
-