org.codehaus.mojo.wagon.shared
Class DefaultWagonDownload
java.lang.Object
   org.codehaus.mojo.wagon.shared.DefaultWagonDownload
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:
- getFileListin interface- WagonDownload
 
- 
- Parameters:
- wagon- - a Wagon instance
- fileSet- - 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:
- downloadin interface- WagonDownload
 
- 
- Parameters:
- wagon- - a Wagon instance
- remoteFileSet- -
- 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:
- existsin interface- WagonDownload
 
- 
- Parameters:
- wagon- - a Wagon instance
- resource- - Remote resource to check
- Throws:
- org.apache.maven.wagon.WagonException
 
Copyright © 2008–2014 The Kuali Foundation. All rights reserved.