public class TestFileWagon extends org.apache.maven.wagon.providers.file.FileWagon
authenticationInfo, DEFAULT_BUFFER_SIZE, interactive, proxyInfo, repository, sessionEventSupport, transferEventSupport
DEFAULT_CONNECTION_TIMEOUT, DEFAULT_READ_TIMEOUT, ROLE
Constructor and Description |
---|
TestFileWagon() |
Modifier and Type | Method and Description |
---|---|
void |
addTransferListener(org.apache.maven.wagon.events.TransferListener listener) |
void |
get(String resourceName,
File destination) |
boolean |
getIfNewer(String resourceName,
File destination,
long timestamp) |
protected void |
getTransfer(org.apache.maven.wagon.resource.Resource resource,
File destination,
InputStream input,
boolean closeInput,
int maxSize) |
closeConnection, fillInputData, fillOutputData, getFileList, openConnectionInternal, putDirectory, resourceExists, supportsDirectoryCopy
checkInputStream, checkOutputStream, getIfNewerToStream, getInputStream, getOutputStream, getToStream, put, putFromStream, putFromStream, putFromStream
addSessionListener, cleanupGetTransfer, 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, getTransfer, getTransferEventSupport, hasSessionListener, hasTransferListener, isInteractive, openConnection, postProcessListeners, putTransfer, putTransfer, removeSessionListener, removeTransferListener, setInteractive, setPermissionsOverride, setReadTimeout, setSessionEventSupport, setTimeout, setTransferEventSupport, transfer, transfer, transfer, transfer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSessionListener, connect, connect, connect, connect, connect, connect, disconnect, getReadTimeout, getRepository, getTimeout, hasSessionListener, hasTransferListener, isInteractive, openConnection, removeSessionListener, removeTransferListener, setInteractive, setReadTimeout, setTimeout
protected void getTransfer(org.apache.maven.wagon.resource.Resource resource, File destination, InputStream input, boolean closeInput, int maxSize) throws org.apache.maven.wagon.TransferFailedException
getTransfer
in class org.apache.maven.wagon.AbstractWagon
org.apache.maven.wagon.TransferFailedException
public void get(String resourceName, File destination) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException, org.apache.maven.wagon.authorization.AuthorizationException
get
in interface org.apache.maven.wagon.Wagon
get
in class org.apache.maven.wagon.StreamWagon
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
org.apache.maven.wagon.authorization.AuthorizationException
public boolean getIfNewer(String resourceName, File destination, long timestamp) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException, org.apache.maven.wagon.authorization.AuthorizationException
getIfNewer
in interface org.apache.maven.wagon.Wagon
getIfNewer
in class org.apache.maven.wagon.StreamWagon
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
org.apache.maven.wagon.authorization.AuthorizationException
public void addTransferListener(org.apache.maven.wagon.events.TransferListener listener)
addTransferListener
in interface org.apache.maven.wagon.Wagon
addTransferListener
in class org.apache.maven.wagon.AbstractWagon
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.