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.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()
           
 void openConnection()
           
protected  void openConnectionInternal()
           
 
Methods inherited from class org.apache.maven.wagon.StreamWagon
get, getIfNewer, put
 
Methods inherited from class org.apache.maven.wagon.AbstractWagon
addSessionListener, addTransferListener, connect, connect, connect, connect, createParentDirectories, createZip, disconnect, fireGetCompleted, fireGetInitiated, fireGetStarted, firePutCompleted, firePutInitiated, firePutStarted, fireSessionConnectionRefused, fireSessionDebug, fireSessionDisconnected, fireSessionDisconnecting, fireSessionError, fireSessionLoggedIn, fireSessionLoggedOff, fireSessionOpened, fireSessionOpening, fireTransferDebug, fireTransferError, fireTransferProgress, getAuthenticationInfo, getFileList, getPath, getProxyInfo, getRepository, getSessionEventSupport, getTransfer, getTransfer, getTransferEventSupport, hasSessionListener, hasTransferListener, isInteractive, postProcessListeners, putDirectory, putTransfer, removeSessionListener, removeTransferListener, resourceExists, setInteractive, setSessionEventSupport, setTransferEventSupport, supportsDirectoryCopy, transfer, transfer, transfer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Specified by:
fillInputData in class org.apache.maven.wagon.StreamWagon
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

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
Throws:
org.apache.maven.wagon.ConnectionException
org.apache.maven.wagon.authentication.AuthenticationException

clearExpectedContent

public void clearExpectedContent()

openConnection

public void openConnection()
                    throws org.apache.maven.wagon.ConnectionException,
                           org.apache.maven.wagon.authentication.AuthenticationException
Specified by:
openConnection in interface org.apache.maven.wagon.Wagon
Specified by:
openConnection in class org.apache.maven.wagon.StreamWagon
Throws:
org.apache.maven.wagon.ConnectionException
org.apache.maven.wagon.authentication.AuthenticationException


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