org.codehaus.mojo.wagon.shared
Class DefaultWagonDownload
java.lang.Object
org.codehaus.mojo.wagon.shared.DefaultWagonDownload
- All Implemented Interfaces:
- WagonDownload
public class DefaultWagonDownload
- extends Object
- implements WagonDownload
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWagonDownload
public DefaultWagonDownload()
getFileList
public List<String> getFileList(org.apache.maven.wagon.Wagon wagon,
WagonFileSet fileSet,
org.apache.maven.plugin.logging.Log logger)
throws org.apache.maven.wagon.WagonException
- Specified by:
getFileList
in interface WagonDownload
- Parameters:
wagon
- - a Wagon instancefileSet
- - Criteria to build the list
- Returns:
- a list of files at the remote host relative to RemoteFileSet's directory
- Throws:
org.apache.maven.wagon.WagonException
download
public void download(org.apache.maven.wagon.Wagon wagon,
WagonFileSet remoteFileSet,
org.apache.maven.plugin.logging.Log logger,
boolean skipExisting)
throws org.apache.maven.wagon.WagonException
- Specified by:
download
in interface WagonDownload
- Parameters:
wagon
- - a Wagon instanceremoteFileSet
- -
- Throws:
org.apache.maven.wagon.WagonException
getBytes
protected long getBytes(List<File> files)
touchQuietly
protected void touchQuietly(File file)
exists
public boolean exists(org.apache.maven.wagon.Wagon wagon,
String resource)
throws org.apache.maven.wagon.WagonException
- Specified by:
exists
in interface WagonDownload
- Parameters:
wagon
- - a Wagon instanceresource
- - Remote resource to check
- Throws:
org.apache.maven.wagon.WagonException
Copyright © 2008–2014 The Kuali Foundation. All rights reserved.