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
  
 
 
 
| 
Method Summary | 
 void | 
download(org.apache.maven.wagon.Wagon wagon,
                 WagonFileSet remoteFileSet,
                 org.apache.maven.plugin.logging.Log logger,
                 boolean skipExisting)
 
            | 
 boolean | 
exists(org.apache.maven.wagon.Wagon wagon,
             String resource)
 
            | 
 List<String> | 
getFileList(org.apache.maven.wagon.Wagon wagon,
                       WagonFileSet fileSet,
                       org.apache.maven.plugin.logging.Log logger)
 
            | 
 
| 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
 
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-2012 The Kuali Foundation. All Rights Reserved.