Package org.codehaus.mojo.wagon.shared
Class DefaultWagonDownload
java.lang.Object
org.codehaus.mojo.wagon.shared.DefaultWagonDownload
- All Implemented Interfaces:
WagonDownload
@Component(role=WagonDownload.class,
hint="default")
public class DefaultWagonDownload
extends Object
implements WagonDownload
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddownload(org.apache.maven.wagon.Wagon wagon, WagonFileSet remoteFileSet, org.apache.maven.plugin.logging.Log logger) booleangetFileList(org.apache.maven.wagon.Wagon wagon, WagonFileSet fileSet, org.apache.maven.plugin.logging.Log logger)
-
Constructor Details
-
DefaultWagonDownload
public DefaultWagonDownload()
-
-
Method Details
-
exists
public boolean exists(org.apache.maven.wagon.Wagon wagon, String resource) throws org.apache.maven.wagon.WagonException - Specified by:
existsin interfaceWagonDownload- Parameters:
wagon- - a Wagon instanceresource- - resource to test- Returns:
trueif found,falseotherwise- Throws:
org.apache.maven.wagon.WagonException- if any wagon error