public class AetherClientResourceFetcher
extends java.lang.Object
implements org.apache.maven.index.updater.ResourceFetcher
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
AetherClientResourceFetcher.AetherClientConfigAdapter |
| Modifier and Type | Field and Description |
|---|---|
private io.takari.aether.client.AetherClient |
aetherClient |
private org.apache.maven.wagon.authentication.AuthenticationInfo |
authInfo |
private java.lang.String |
baseUrl |
private org.eclipse.core.runtime.IProgressMonitor |
monitor |
private org.apache.maven.wagon.proxy.ProxyInfo |
proxyInfo |
private java.lang.String |
userAgent |
| Constructor and Description |
|---|
AetherClientResourceFetcher(org.apache.maven.wagon.authentication.AuthenticationInfo authInfo,
org.apache.maven.wagon.proxy.ProxyInfo proxyInfo,
org.eclipse.core.runtime.IProgressMonitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(java.lang.String id,
java.lang.String url) |
void |
disconnect() |
java.io.InputStream |
retrieve(java.lang.String name) |
void |
retrieve(java.lang.String name,
java.io.File targetFile) |
private io.takari.aether.client.AetherClient aetherClient
private final org.apache.maven.wagon.authentication.AuthenticationInfo authInfo
private final org.apache.maven.wagon.proxy.ProxyInfo proxyInfo
private final java.lang.String userAgent
private final org.eclipse.core.runtime.IProgressMonitor monitor
private java.lang.String baseUrl
public AetherClientResourceFetcher(org.apache.maven.wagon.authentication.AuthenticationInfo authInfo,
org.apache.maven.wagon.proxy.ProxyInfo proxyInfo,
org.eclipse.core.runtime.IProgressMonitor monitor)
public void connect(java.lang.String id,
java.lang.String url)
throws java.io.IOException
connect in interface org.apache.maven.index.updater.ResourceFetcherjava.io.IOExceptionpublic void disconnect()
throws java.io.IOException
disconnect in interface org.apache.maven.index.updater.ResourceFetcherjava.io.IOExceptionpublic void retrieve(java.lang.String name,
java.io.File targetFile)
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionpublic java.io.InputStream retrieve(java.lang.String name)
throws java.io.IOException,
java.io.FileNotFoundException
retrieve in interface org.apache.maven.index.updater.ResourceFetcherjava.io.IOExceptionjava.io.FileNotFoundException