public class RemoteAgentManager
extends java.lang.Object
RemoteAgent instances used to access remote p2 repositories. The instance are
shared within a reactor because they cache the loaded p2 repositories.| Modifier and Type | Field and Description |
|---|---|
private org.eclipse.equinox.p2.core.IProvisioningAgent |
cachedAgent
Cached provisioning agent instance.
|
private MavenContext |
mavenContext |
private MavenRepositorySettings |
mavenRepositorySettings |
| Constructor and Description |
|---|
RemoteAgentManager() |
RemoteAgentManager(MavenContext mavenContext) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
getDisableP2MirrorsConfiguration() |
org.eclipse.equinox.p2.core.IProvisioningAgent |
getProvisioningAgent() |
void |
setMavenContext(MavenContext mavenContext) |
void |
setMavenRepositorySettings(MavenRepositorySettings mavenRepositorySettings) |
private MavenContext mavenContext
private MavenRepositorySettings mavenRepositorySettings
private org.eclipse.equinox.p2.core.IProvisioningAgent cachedAgent
public RemoteAgentManager(MavenContext mavenContext)
public RemoteAgentManager()
public org.eclipse.equinox.p2.core.IProvisioningAgent getProvisioningAgent()
throws org.eclipse.equinox.p2.core.ProvisionException
org.eclipse.equinox.p2.core.ProvisionExceptionprivate boolean getDisableP2MirrorsConfiguration()
public void setMavenContext(MavenContext mavenContext)
public void setMavenRepositorySettings(MavenRepositorySettings mavenRepositorySettings)