private static class DownloadRemoteIndexTask.WagonResourceFetcher extends Object implements org.apache.maven.index.updater.ResourceFetcher
Modifier and Type | Field and Description |
---|---|
(package private) org.slf4j.Logger |
log |
(package private) RemoteRepository |
remoteRepository |
(package private) File |
tempIndexDirectory |
(package private) org.apache.maven.wagon.Wagon |
wagon |
Modifier | Constructor and Description |
---|---|
private |
WagonResourceFetcher(org.slf4j.Logger log,
File tempIndexDirectory,
org.apache.maven.wagon.Wagon wagon,
RemoteRepository remoteRepository) |
Modifier and Type | Method and Description |
---|---|
protected String |
addParameters(String path,
RemoteRepository remoteRepository) |
void |
connect(String id,
String url) |
void |
disconnect() |
InputStream |
retrieve(String name) |
org.slf4j.Logger log
File tempIndexDirectory
org.apache.maven.wagon.Wagon wagon
RemoteRepository remoteRepository
private WagonResourceFetcher(org.slf4j.Logger log, File tempIndexDirectory, org.apache.maven.wagon.Wagon wagon, RemoteRepository remoteRepository)
public void connect(String id, String url) throws IOException
connect
in interface org.apache.maven.index.updater.ResourceFetcher
IOException
public void disconnect() throws IOException
disconnect
in interface org.apache.maven.index.updater.ResourceFetcher
IOException
public InputStream retrieve(String name) throws IOException, FileNotFoundException
retrieve
in interface org.apache.maven.index.updater.ResourceFetcher
IOException
FileNotFoundException
protected String addParameters(String path, RemoteRepository remoteRepository)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.