public class FluentProxyBuilder
extends java.lang.Object
<proxy> element contains
information required to a proxy settings.| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.settings.Proxy |
build() |
static FluentProxyBuilder |
newProxy()
The
<proxy> element contains
informations required to a proxy settings. |
FluentProxyBuilder |
notActive()
Make this proxy configuration not active.
|
FluentProxyBuilder |
withHost(java.lang.String host)
Set the proxy host.
|
FluentProxyBuilder |
withId(java.lang.String id)
Set the id field.
|
FluentProxyBuilder |
withNonProxyHosts(java.lang.String nonProxyHosts)
Set the list of non-proxied hosts (delimited by |).
|
FluentProxyBuilder |
withPassword(java.lang.String password)
Set the proxy password.
|
FluentProxyBuilder |
withPort(int port)
Set the proxy port.
|
FluentProxyBuilder |
withProtocol(java.lang.String protocol)
Set the proxy protocol.
|
FluentProxyBuilder |
withUsername(java.lang.String username)
Set the proxy user.
|
public static FluentProxyBuilder newProxy()
<proxy> element contains
informations required to a proxy settings.public org.apache.maven.settings.Proxy build()
public FluentProxyBuilder withId(java.lang.String id)
id - public FluentProxyBuilder withUsername(java.lang.String username)
username - public FluentProxyBuilder withPassword(java.lang.String password)
password - public FluentProxyBuilder notActive()
public FluentProxyBuilder withHost(java.lang.String host)
host - public FluentProxyBuilder withNonProxyHosts(java.lang.String nonProxyHosts)
nonProxyHosts - public FluentProxyBuilder withProtocol(java.lang.String protocol)
protocol - public FluentProxyBuilder withPort(int port)
port - Copyright © 2014 Yandex. All Rights Reserved.