org.apache.archiva.scheduler.indexing
Class DownloadRemoteIndexTask.WagonResourceFetcher

java.lang.Object
  extended by org.apache.archiva.scheduler.indexing.DownloadRemoteIndexTask.WagonResourceFetcher
All Implemented Interfaces:
org.apache.maven.index.updater.ResourceFetcher
Enclosing class:
DownloadRemoteIndexTask

private static class DownloadRemoteIndexTask.WagonResourceFetcher
extends Object
implements org.apache.maven.index.updater.ResourceFetcher


Field Summary
(package private)  org.slf4j.Logger log
           
(package private)  RemoteRepository remoteRepository
           
(package private)  File tempIndexDirectory
           
(package private)  org.apache.maven.wagon.Wagon wagon
           
 
Constructor Summary
private DownloadRemoteIndexTask.WagonResourceFetcher(org.slf4j.Logger log, File tempIndexDirectory, org.apache.maven.wagon.Wagon wagon, RemoteRepository remoteRepository)
           
 
Method Summary
protected  String addParameters(String path, RemoteRepository remoteRepository)
           
 void connect(String id, String url)
           
 void disconnect()
           
 InputStream retrieve(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

org.slf4j.Logger log

tempIndexDirectory

File tempIndexDirectory

wagon

org.apache.maven.wagon.Wagon wagon

remoteRepository

RemoteRepository remoteRepository
Constructor Detail

DownloadRemoteIndexTask.WagonResourceFetcher

private DownloadRemoteIndexTask.WagonResourceFetcher(org.slf4j.Logger log,
                                                     File tempIndexDirectory,
                                                     org.apache.maven.wagon.Wagon wagon,
                                                     RemoteRepository remoteRepository)
Method Detail

connect

public void connect(String id,
                    String url)
             throws IOException
Specified by:
connect in interface org.apache.maven.index.updater.ResourceFetcher
Throws:
IOException

disconnect

public void disconnect()
                throws IOException
Specified by:
disconnect in interface org.apache.maven.index.updater.ResourceFetcher
Throws:
IOException

retrieve

public InputStream retrieve(String name)
                     throws IOException,
                            FileNotFoundException
Specified by:
retrieve in interface org.apache.maven.index.updater.ResourceFetcher
Throws:
IOException
FileNotFoundException

addParameters

protected String addParameters(String path,
                               RemoteRepository remoteRepository)


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.