org.apache.maven.settings
Class Proxy

java.lang.Object
  extended by org.apache.maven.settings.TrackableBase
      extended by org.apache.maven.settings.IdentifiableBase
          extended by org.apache.maven.settings.Proxy
All Implemented Interfaces:
java.io.Serializable

public class Proxy
extends IdentifiableBase
implements java.io.Serializable

The <proxy> element contains informations required to a proxy settings.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.maven.settings.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
 
Constructor Summary
Proxy()
           
 
Method Summary
 java.lang.String getHost()
          Get The proxy host.
 java.lang.String getModelEncoding()
           
 java.lang.String getNonProxyHosts()
          Get The list of non-proxied hosts (delimited by |).
 java.lang.String getPassword()
          Get The proxy password.
 int getPort()
          Get The proxy port.
 java.lang.String getProtocol()
          Get The proxy protocol.
 java.lang.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(java.lang.String host)
          Set The proxy host.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setNonProxyHosts(java.lang.String nonProxyHosts)
          Set The list of non-proxied hosts (delimited by |).
 void setPassword(java.lang.String password)
          Set The proxy password.
 void setPort(int port)
          Set The proxy port.
 void setProtocol(java.lang.String protocol)
          Set The proxy protocol.
 void setUsername(java.lang.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

Proxy

public Proxy()
Method Detail

getHost

public java.lang.String getHost()
Get The proxy host.


getNonProxyHosts

public java.lang.String getNonProxyHosts()
Get The list of non-proxied hosts (delimited by |).


getPassword

public java.lang.String getPassword()
Get The proxy password.


getPort

public int getPort()
Get The proxy port.


getProtocol

public java.lang.String getProtocol()
Get The proxy protocol.


getUsername

public java.lang.String getUsername()
Get The proxy user.


isActive

public boolean isActive()
Get Whether this proxy configuration is the active one.


setActive

public void setActive(boolean active)
Set Whether this proxy configuration is the active one.

Parameters:
active -

setHost

public void setHost(java.lang.String host)
Set The proxy host.

Parameters:
host -

setNonProxyHosts

public void setNonProxyHosts(java.lang.String nonProxyHosts)
Set The list of non-proxied hosts (delimited by |).

Parameters:
nonProxyHosts -

setPassword

public void setPassword(java.lang.String password)
Set The proxy password.

Parameters:
password -

setPort

public void setPort(int port)
Set The proxy port.

Parameters:
port -

setProtocol

public void setProtocol(java.lang.String protocol)
Set The proxy protocol.

Parameters:
protocol -

setUsername

public void setUsername(java.lang.String username)
Set The proxy user.

Parameters:
username -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Overrides:
setModelEncoding in class IdentifiableBase

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class IdentifiableBase


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.