org.codehaus.mojo.wagon.shared
Class DefaultWagonDownload

java.lang.Object
  extended by org.codehaus.mojo.wagon.shared.DefaultWagonDownload
All Implemented Interfaces:
WagonDownload

public class DefaultWagonDownload
extends Object
implements WagonDownload


Field Summary
 
Fields inherited from interface org.codehaus.mojo.wagon.shared.WagonDownload
ROLE
 
Constructor Summary
DefaultWagonDownload()
           
 
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
 

Constructor Detail

DefaultWagonDownload

public DefaultWagonDownload()
Method Detail

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 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:
download in interface WagonDownload
Parameters:
wagon - - a Wagon instance
remoteFileSet - -
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 instance
resource - - Remote resource to check
Throws:
org.apache.maven.wagon.WagonException


Copyright © 2008-2012 The Kuali Foundation. All Rights Reserved.