public class WagonMock extends org.apache.maven.wagon.StreamWagon
Constructor and Description |
---|
WagonMock() |
WagonMock(boolean errorInputStream) |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection() |
void |
fillInputData(org.apache.maven.wagon.InputData inputData) |
void |
fillOutputData(org.apache.maven.wagon.OutputData outputData) |
List<String> |
getFileList(String destinationDirectory) |
int |
getTimeout() |
void |
openConnectionInternal() |
boolean |
resourceExists(String resourceName) |
void |
setTimeout(int timeoutValue) |
checkInputStream, checkOutputStream, get, getIfNewer, getIfNewerToStream, getInputStream, getOutputStream, getToStream, put, putFromStream, putFromStream, putFromStream
addSessionListener, addTransferListener, 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, getBufferCapacityForTransfer, getPath, getPermissionsOverride, getProxyInfo, getProxyInfo, getReadTimeout, getRepository, getSessionEventSupport, getTransfer, getTransfer, getTransfer, getTransfer, getTransfer, getTransfer, getTransferEventSupport, hasSessionListener, hasTransferListener, isInteractive, openConnection, postProcessListeners, putDirectory, putTransfer, putTransfer, removeSessionListener, removeTransferListener, setInteractive, setPermissionsOverride, setReadTimeout, setSessionEventSupport, setTransferEventSupport, supportsDirectoryCopy, transfer, transfer, transfer, transfer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSessionListener, addTransferListener, connect, connect, connect, connect, connect, connect, disconnect, getReadTimeout, getRepository, hasSessionListener, hasTransferListener, isInteractive, openConnection, putDirectory, removeSessionListener, removeTransferListener, setInteractive, setReadTimeout, supportsDirectoryCopy
public WagonMock()
public WagonMock(boolean errorInputStream)
public void fillInputData(org.apache.maven.wagon.InputData inputData) throws org.apache.maven.wagon.TransferFailedException
fillInputData
in class org.apache.maven.wagon.StreamWagon
org.apache.maven.wagon.TransferFailedException
public void fillOutputData(org.apache.maven.wagon.OutputData outputData) throws org.apache.maven.wagon.TransferFailedException
fillOutputData
in class org.apache.maven.wagon.StreamWagon
org.apache.maven.wagon.TransferFailedException
public void openConnectionInternal()
openConnectionInternal
in class org.apache.maven.wagon.AbstractWagon
public void closeConnection()
closeConnection
in class org.apache.maven.wagon.StreamWagon
public void setTimeout(int timeoutValue)
setTimeout
in interface org.apache.maven.wagon.Wagon
setTimeout
in class org.apache.maven.wagon.AbstractWagon
public int getTimeout()
getTimeout
in interface org.apache.maven.wagon.Wagon
getTimeout
in class org.apache.maven.wagon.AbstractWagon
public List<String> getFileList(String destinationDirectory) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.authorization.AuthorizationException
getFileList
in interface org.apache.maven.wagon.Wagon
getFileList
in class org.apache.maven.wagon.AbstractWagon
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.authorization.AuthorizationException
public boolean resourceExists(String resourceName) throws org.apache.maven.wagon.authorization.AuthorizationException
resourceExists
in interface org.apache.maven.wagon.Wagon
resourceExists
in class org.apache.maven.wagon.AbstractWagon
org.apache.maven.wagon.authorization.AuthorizationException
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.