org.apache.archiva.scheduler.indexing
Class DownloadRemoteIndexTask.WagonResourceFetcher
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
org.slf4j.Logger log
tempIndexDirectory
File tempIndexDirectory
wagon
org.apache.maven.wagon.Wagon wagon
remoteRepository
RemoteRepository remoteRepository
DownloadRemoteIndexTask.WagonResourceFetcher
private DownloadRemoteIndexTask.WagonResourceFetcher(org.slf4j.Logger log,
File tempIndexDirectory,
org.apache.maven.wagon.Wagon wagon,
RemoteRepository remoteRepository)
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.