maven-wagon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r383642 - /maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/Wagon.java
Date Mon, 06 Mar 2006 20:00:17 GMT
Author: carlos
Date: Mon Mar  6 12:00:11 2006
New Revision: 383642

URL: http://svn.apache.org/viewcvs?rev=383642&view=rev
Log:
Added javadocs

Modified:
    maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/Wagon.java

Modified: maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/Wagon.java
URL: http://svn.apache.org/viewcvs/maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/Wagon.java?rev=383642&r1=383641&r2=383642&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/Wagon.java (original)
+++ maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/Wagon.java Mon
Mar  6 12:00:11 2006
@@ -66,12 +66,32 @@
     boolean getIfNewer( String resourceName, File destination, long timestamp )
         throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException;
 
+    /**
+     * Copy a file from local system to remote
+     * @param source the local file
+     * @param destination the remote destination
+     * @throws TransferFailedException
+     * @throws ResourceDoesNotExistException
+     * @throws AuthorizationException
+     */
     void put( File source, String destination )
         throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException;
 
+    /**
+     * Copy a directory from local system to remote
+     * @param sourceDirectory the local directory
+     * @param destinationDirectory the remote destination
+     * @throws TransferFailedException
+     * @throws ResourceDoesNotExistException
+     * @throws AuthorizationException
+     */
     void putDirectory( File sourceDirectory, String destinationDirectory )
         throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException;
 
+    /**
+     * 
+     * @return whether if this wagon supports directory operations
+     */
     boolean supportsDirectoryCopy();
 
     Repository getRepository();



---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-commits-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-commits-help@maven.apache.org


Mime
View raw message