|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.settings.TrackableBase org.apache.maven.settings.IdentifiableBase org.apache.maven.settings.Proxy
public class Proxy
The <proxy>
element contains
informations required to a proxy settings.
Field Summary |
---|
Fields inherited from class org.apache.maven.settings.TrackableBase |
---|
GLOBAL_LEVEL, USER_LEVEL |
Constructor Summary | |
---|---|
Proxy()
|
Method Summary | |
---|---|
String |
getHost()
Get The proxy host. |
String |
getModelEncoding()
|
String |
getNonProxyHosts()
Get The list of non-proxied hosts (delimited by |). |
String |
getPassword()
Get The proxy password. |
int |
getPort()
Get The proxy port. |
String |
getProtocol()
Get The proxy protocol. |
String |
getUsername()
Get The proxy user. |
boolean |
isActive()
Get Whether this proxy configuration is the active one. |
void |
setActive(boolean active)
Set Whether this proxy configuration is the active one. |
void |
setHost(String host)
Set The proxy host. |
void |
setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model. |
void |
setNonProxyHosts(String nonProxyHosts)
Set The list of non-proxied hosts (delimited by |). |
void |
setPassword(String password)
Set The proxy password. |
void |
setPort(int port)
Set The proxy port. |
void |
setProtocol(String protocol)
Set The proxy protocol. |
void |
setUsername(String username)
Set The proxy user. |
Methods inherited from class org.apache.maven.settings.IdentifiableBase |
---|
getId, setId |
Methods inherited from class org.apache.maven.settings.TrackableBase |
---|
getSourceLevel, setSourceLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Proxy()
Method Detail |
---|
public String getHost()
public String getNonProxyHosts()
public String getPassword()
public int getPort()
public String getProtocol()
public String getUsername()
public boolean isActive()
public void setActive(boolean active)
active
- public void setHost(String host)
host
- public void setNonProxyHosts(String nonProxyHosts)
nonProxyHosts
- public void setPassword(String password)
password
- public void setPort(int port)
port
- public void setProtocol(String protocol)
protocol
- public void setUsername(String username)
username
- public void setModelEncoding(String modelEncoding)
setModelEncoding
in class IdentifiableBase
modelEncoding
- the encoding used when reading/writing the model.public String getModelEncoding()
getModelEncoding
in class IdentifiableBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |