Class ProxyServiceFacadeImpl

    • Constructor Detail

      • ProxyServiceFacadeImpl

        public ProxyServiceFacadeImpl()
    • Method Detail

      • configureProxy

        public void configureProxy​(String protocol,
                                   String host,
                                   int port,
                                   String user,
                                   String password,
                                   String nonProxyHosts)
        Description copied from interface: ProxyServiceFacade
        Configure the OSGI proxy service for the protocol specified. Parameter values are assumed to be taken from {@see org.apache.maven.settings.Proxy}
        Specified by:
        configureProxy in interface ProxyServiceFacade
        Parameters:
        protocol - proxy protocol
        host - proxy host
        port - proxy port
        user - may be null
        password - may be null
        nonProxyHosts - pipe-separated list of non-proxied hosts, may be null
      • clearPersistentProxySettings

        public void clearPersistentProxySettings()
        Description copied from interface: ProxyServiceFacade
        Discard 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:
        clearPersistentProxySettings in interface ProxyServiceFacade
      • setProxyServer

        public void setProxyServer​(org.eclipse.core.net.proxy.IProxyService proxyService)
      • unsetProxyServer

        public void unsetProxyServer​(org.eclipse.core.net.proxy.IProxyService proxyService)