org.apache.maven.wagon.providers.coreit
Class CoreItWagon

java.lang.Object
  extended by org.apache.maven.wagon.AbstractWagon
      extended by org.apache.maven.wagon.providers.coreit.CoreItWagon
All Implemented Interfaces:
Wagon

public class CoreItWagon
extends AbstractWagon

Shamelessly copied from ScpExternalWagon in this same project...

Plexus component:
role-hint:
"coreit"
instantiation-strategy:
"per-lookup"
role:
"org.apache.maven.wagon.Wagon"

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
CoreItWagon()
           
 
Method Summary
 void closeConnection()
           
 void fillInputData(InputData inputData)
           
 void fillOutputData(OutputData outputData)
           
 void get(String resourceName, File destination)
           
 boolean getIfNewer(String resourceName, File destination, long timestamp)
           
 void openConnection()
           
 void put(File source, String resourceName)
           
 
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

CoreItWagon

public CoreItWagon()
Method Detail

get

public void get(String resourceName,
                File destination)
         throws TransferFailedException,
                ResourceDoesNotExistException,
                AuthorizationException
Throws:
TransferFailedException
ResourceDoesNotExistException
AuthorizationException

getIfNewer

public boolean getIfNewer(String resourceName,
                          File destination,
                          long timestamp)
                   throws TransferFailedException,
                          ResourceDoesNotExistException,
                          AuthorizationException
Throws:
TransferFailedException
ResourceDoesNotExistException
AuthorizationException

put

public void put(File source,
                String resourceName)
         throws TransferFailedException,
                ResourceDoesNotExistException,
                AuthorizationException
Throws:
TransferFailedException
ResourceDoesNotExistException
AuthorizationException

closeConnection

public void closeConnection()
                     throws ConnectionException
Specified by:
closeConnection in class AbstractWagon
Throws:
ConnectionException

fillInputData

public void fillInputData(InputData inputData)
                   throws TransferFailedException,
                          ResourceDoesNotExistException
Throws:
TransferFailedException
ResourceDoesNotExistException

fillOutputData

public void fillOutputData(OutputData outputData)
                    throws TransferFailedException
Throws:
TransferFailedException

openConnection

public void openConnection()
                    throws ConnectionException,
                           AuthenticationException
Throws:
ConnectionException
AuthenticationException


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.