Class ZipUrlInstaller
- java.lang.Object
-
- org.codehaus.cargo.maven3.configuration.ZipUrlInstaller
-
public class ZipUrlInstaller extends Object
Holds configuration data for the<zipUrlInstaller>tag used to configure the plugin in thepom.xmlfile.
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXTRACT_SUBDIRECTORYDefault extraction subdirectory.
-
Constructor Summary
Constructors Constructor Description ZipUrlInstaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZipURLInstallercreateInstaller(String projectBuildDirectory)Creates theZipURLInstallerwith the appropriate configuration.ProxycreateProxy()StringgetDownloadDir()StringgetExtractDir()ProxygetProxy()URLgetUrl()voidsetDownloadDir(String downloadDir)voidsetExtractDir(String extractDir)voidsetUrl(URL url)
-
-
-
Field Detail
-
EXTRACT_SUBDIRECTORY
public static final String EXTRACT_SUBDIRECTORY
Default extraction subdirectory.- See Also:
- Constant Field Values
-
-
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.
-
createInstaller
public ZipURLInstaller createInstaller(String projectBuildDirectory)
Creates theZipURLInstallerwith the appropriate configuration.- Parameters:
projectBuildDirectory- Project build directory.- Returns:
- a new instance of
ZipURLInstallerconfigured using the attributes specified by the user
-
-