Package org.eclipse.tycho.p2.impl.proxy
Class ProxyServiceFacadeImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.impl.proxy.ProxyServiceFacadeImpl
-
- All Implemented Interfaces:
ProxyServiceFacade
public class ProxyServiceFacadeImpl extends Object implements ProxyServiceFacade
-
-
Constructor Summary
Constructors Constructor Description ProxyServiceFacadeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearPersistentProxySettings()Discard persistent proxy settings.voidconfigureProxy(String protocol, String host, int port, String user, String password, String nonProxyHosts)Configure the OSGI proxy service for the protocol specified.voidsetProxyServer(org.eclipse.core.net.proxy.IProxyService proxyService)voidunsetProxyServer(org.eclipse.core.net.proxy.IProxyService proxyService)
-
-
-
Method Detail
-
configureProxy
public void configureProxy(String protocol, String host, int port, String user, String password, String nonProxyHosts)
Description copied from interface:ProxyServiceFacadeConfigure the OSGI proxy service for the protocol specified. Parameter values are assumed to be taken from {@see org.apache.maven.settings.Proxy}- Specified by:
configureProxyin interfaceProxyServiceFacade- Parameters:
protocol- proxy protocolhost- proxy hostport- proxy portuser- may benullpassword- may benullnonProxyHosts- pipe-separated list of non-proxied hosts, may benull
-
clearPersistentProxySettings
public void clearPersistentProxySettings()
Description copied from interface:ProxyServiceFacadeDiscard persistent proxy settings. This is needed because org.eclipse.core.net.proxy.IProxyService always remembers its settings in eclipse/configuration/.settings/org.eclipse.core.net.prefs. Otherwise proxy settings would survive across OSGi framework restarts and thus influence subsequent builds.- Specified by:
clearPersistentProxySettingsin interfaceProxyServiceFacade
-
setProxyServer
public void setProxyServer(org.eclipse.core.net.proxy.IProxyService proxyService)
-
unsetProxyServer
public void unsetProxyServer(org.eclipse.core.net.proxy.IProxyService proxyService)
-
-