org.codehaus.mojo.wagon.shared
Class DefaultWagonCopy

java.lang.Object
  extended by org.codehaus.mojo.wagon.shared.DefaultWagonCopy
All Implemented Interfaces:
WagonCopy

public class DefaultWagonCopy
extends Object
implements WagonCopy

Copy a set of files from one wagon repository to another wagon repository


Field Summary
 
Fields inherited from interface org.codehaus.mojo.wagon.shared.WagonCopy
ROLE
 
Constructor Summary
DefaultWagonCopy()
           
 
Method Summary
 void copy(org.apache.maven.wagon.Wagon src, WagonFileSet wagonFileSet, org.apache.maven.wagon.Wagon target, boolean optimize, org.apache.maven.plugin.logging.Log logger)
          Transfer files between 2 Wagon URLs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWagonCopy

public DefaultWagonCopy()
Method Detail

copy

public void copy(org.apache.maven.wagon.Wagon src,
                 WagonFileSet wagonFileSet,
                 org.apache.maven.wagon.Wagon target,
                 boolean optimize,
                 org.apache.maven.plugin.logging.Log logger)
          throws org.apache.maven.wagon.WagonException,
                 IOException
Description copied from interface: WagonCopy
Transfer files between 2 Wagon URLs. If download directory is not given in the fileset a temporary one will be created.

Specified by:
copy in interface WagonCopy
Parameters:
src - - source Wagon
target - - target Wagon
optimize - - locally compressed and remotely uncompress for scp only
Throws:
org.apache.maven.wagon.WagonException
IOException


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