org.apache.maven.artifact.manager
Class StringWagon

java.lang.Object
  extended by org.apache.maven.wagon.AbstractWagon
      extended by org.apache.maven.wagon.StreamWagon
          extended by org.apache.maven.artifact.manager.StringWagon
All Implemented Interfaces:
org.apache.maven.wagon.StreamingWagon, org.apache.maven.wagon.Wagon

public class StringWagon
extends org.apache.maven.wagon.StreamWagon


Field Summary
 
Fields inherited from class org.apache.maven.wagon.AbstractWagon
authenticationInfo, DEFAULT_BUFFER_SIZE, interactive, proxyInfo, repository, sessionEventSupport, transferEventSupport
 
Fields inherited from interface org.apache.maven.wagon.Wagon
ROLE
 
Constructor Summary
StringWagon()
           
 
Method Summary
 void addExpectedContent(String resourceName, String expectedContent)
           
 void clearExpectedContent()
           
 void closeConnection()
           
 void fillInputData(org.apache.maven.wagon.InputData inputData)
           
 void fillOutputData(org.apache.maven.wagon.OutputData outputData)
           
 String[] getSupportedProtocols()
           
protected  void openConnectionInternal()
           
 
Methods inherited from class org.apache.maven.wagon.StreamWagon
checkInputStream, checkOutputStream, get, getIfNewer, getIfNewerToStream, getInputStream, getOutputStream, getToStream, put, putFromStream, putFromStream
 
Methods inherited from class org.apache.maven.wagon.AbstractWagon
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, getFileList, getPath, getPermissionsOverride, getProxyInfo, getProxyInfo, getRepository, getSessionEventSupport, getTimeout, getTransfer, getTransfer, getTransfer, getTransfer, getTransferEventSupport, hasSessionListener, hasTransferListener, isInteractive, openConnection, postProcessListeners, putDirectory, putTransfer, putTransfer, removeSessionListener, removeTransferListener, resourceExists, setInteractive, setPermissionsOverride, setSessionEventSupport, setTimeout, setTransferEventSupport, supportsDirectoryCopy, transfer, transfer, transfer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.wagon.Wagon
addSessionListener, addTransferListener, connect, connect, connect, connect, connect, connect, disconnect, getFileList, getRepository, getTimeout, hasSessionListener, hasTransferListener, isInteractive, openConnection, putDirectory, removeSessionListener, removeTransferListener, resourceExists, setInteractive, setTimeout, supportsDirectoryCopy
 

Constructor Detail

StringWagon

public StringWagon()
Method Detail

addExpectedContent

public void addExpectedContent(String resourceName,
                               String expectedContent)

getSupportedProtocols

public String[] getSupportedProtocols()

closeConnection

public void closeConnection()
                     throws org.apache.maven.wagon.ConnectionException
Specified by:
closeConnection in class org.apache.maven.wagon.StreamWagon
Throws:
org.apache.maven.wagon.ConnectionException

fillInputData

public void fillInputData(org.apache.maven.wagon.InputData inputData)
                   throws org.apache.maven.wagon.TransferFailedException,
                          org.apache.maven.wagon.ResourceDoesNotExistException,
                          org.apache.maven.wagon.authorization.AuthorizationException
Specified by:
fillInputData in class org.apache.maven.wagon.StreamWagon
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
org.apache.maven.wagon.authorization.AuthorizationException

fillOutputData

public void fillOutputData(org.apache.maven.wagon.OutputData outputData)
                    throws org.apache.maven.wagon.TransferFailedException
Specified by:
fillOutputData in class org.apache.maven.wagon.StreamWagon
Throws:
org.apache.maven.wagon.TransferFailedException

openConnectionInternal

protected void openConnectionInternal()
                               throws org.apache.maven.wagon.ConnectionException,
                                      org.apache.maven.wagon.authentication.AuthenticationException
Specified by:
openConnectionInternal in class org.apache.maven.wagon.AbstractWagon
Throws:
org.apache.maven.wagon.ConnectionException
org.apache.maven.wagon.authentication.AuthenticationException

clearExpectedContent

public void clearExpectedContent()


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.