public class WebDavWagon extends AbstractHttpClientWagon
WebDavWagon
Allows using a webdav remote repository for downloads and deployments
|
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONTINUE_ON_FAILURE_PROPERTY |
connectionManager, GMT_TIME_ZONE, SC_NULL| Constructor and Description |
|---|
WebDavWagon() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFileList(String destinationDirectory) |
String |
getURL(org.apache.maven.wagon.repository.Repository repository) |
protected void |
mkdirs(String dir)
Create directories in server as needed.
|
void |
put(File source,
String resourceName) |
void |
putDirectory(File sourceDirectory,
String destinationDirectory)
Copy a directory from local system to remote webdav server
|
boolean |
supportsDirectoryCopy()
This wagon supports directory copying
|
calculateRelocatedUrl, cleanupGetTransfer, closeConnection, execute, fillInputData, fillOutputData, getClient, getHttpConfiguration, getHttpHeaders, openConnectionInternal, putFromStream, putFromStream, putFromStream, resourceExists, setConnectionManager, setHeaders, setHttpConfiguration, setHttpHeaders, setParameterscheckInputStream, checkOutputStream, get, getIfNewer, getIfNewerToStream, getInputStream, getOutputStream, getToStreamaddSessionListener, addTransferListener, cleanupPutTransfer, connect, connect, connect, connect, connect, connect, createParentDirectories, disconnect, finishGetTransfer, finishPutTransfer, fireGetCompleted, fireGetInitiated, fireGetStarted, firePutCompleted, firePutInitiated, firePutStarted, fireSessionConnectionRefused, fireSessionDebug, fireSessionDisconnected, fireSessionDisconnecting, fireSessionError, fireSessionLoggedIn, fireSessionLoggedOff, fireSessionOpened, fireSessionOpening, fireTransferDebug, fireTransferError, fireTransferProgress, getAuthenticationInfo, getPath, getPermissionsOverride, getProxyInfo, getProxyInfo, getReadTimeout, getRepository, getSessionEventSupport, getTimeout, getTransfer, getTransfer, getTransfer, getTransfer, getTransferEventSupport, hasSessionListener, hasTransferListener, isInteractive, openConnection, postProcessListeners, putTransfer, putTransfer, removeSessionListener, removeTransferListener, setInteractive, setPermissionsOverride, setReadTimeout, setSessionEventSupport, setTimeout, setTransferEventSupport, transfer, transfer, transferclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSessionListener, addTransferListener, connect, connect, connect, connect, connect, connect, disconnect, getReadTimeout, getRepository, getTimeout, hasSessionListener, hasTransferListener, isInteractive, openConnection, removeSessionListener, removeTransferListener, setInteractive, setReadTimeout, setTimeoutprotected static final String CONTINUE_ON_FAILURE_PROPERTY
public WebDavWagon()
public boolean supportsDirectoryCopy()
supportsDirectoryCopy in interface org.apache.maven.wagon.WagonsupportsDirectoryCopy in class org.apache.maven.wagon.AbstractWagontrue alwaysprotected void mkdirs(String dir) throws IOException
mkdirs in class AbstractHttpClientWagondir - path to be created in server from repository basedirIOExceptionHttpExceptionorg.apache.maven.wagon.TransferFailedExceptionpublic void putDirectory(File sourceDirectory, String destinationDirectory) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException, org.apache.maven.wagon.authorization.AuthorizationException
putDirectory in interface org.apache.maven.wagon.WagonputDirectory in class org.apache.maven.wagon.AbstractWagonsourceDirectory - the local directorydestinationDirectory - the remote destinationorg.apache.maven.wagon.TransferFailedExceptionorg.apache.maven.wagon.ResourceDoesNotExistExceptionorg.apache.maven.wagon.authorization.AuthorizationExceptionpublic List<String> getFileList(String destinationDirectory) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException, org.apache.maven.wagon.authorization.AuthorizationException
getFileList in interface org.apache.maven.wagon.WagongetFileList in class org.apache.maven.wagon.AbstractWagonorg.apache.maven.wagon.TransferFailedExceptionorg.apache.maven.wagon.ResourceDoesNotExistExceptionorg.apache.maven.wagon.authorization.AuthorizationExceptionpublic String getURL(org.apache.maven.wagon.repository.Repository repository)
getURL in class AbstractHttpClientWagonpublic void put(File source, String resourceName) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException, org.apache.maven.wagon.authorization.AuthorizationException
put in interface org.apache.maven.wagon.Wagonput in class AbstractHttpClientWagonorg.apache.maven.wagon.TransferFailedExceptionorg.apache.maven.wagon.ResourceDoesNotExistExceptionorg.apache.maven.wagon.authorization.AuthorizationExceptionCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.