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.xml
file.
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXTRACT_SUBDIRECTORY
Default extraction subdirectory.
-
Constructor Summary
Constructors Constructor Description ZipUrlInstaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZipURLInstaller
createInstaller(String projectBuildDirectory)
Creates theZipURLInstaller
with the appropriate configuration.Proxy
createProxy()
String
getDownloadDir()
String
getExtractDir()
Proxy
getProxy()
URL
getUrl()
void
setDownloadDir(String downloadDir)
void
setExtractDir(String extractDir)
void
setUrl(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 theZipURLInstaller
with the appropriate configuration.- Parameters:
projectBuildDirectory
- Project build directory.- Returns:
- a new instance of
ZipURLInstaller
configured using the attributes specified by the user
-
-