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:
Serializable

public class Proxy
extends IdentifiableBase
implements 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
 String getHost()
          Get the proxy host.
 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 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

Proxy

public Proxy()
Method Detail

getHost

public String getHost()
Get the proxy host.

Returns:
String

getNonProxyHosts

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

Returns:
String

getPassword

public String getPassword()
Get the proxy password.

Returns:
String

getPort

public int getPort()
Get the proxy port.

Returns:
int

getProtocol

public String getProtocol()
Get the proxy protocol.

Returns:
String

getUsername

public String getUsername()
Get the proxy user.

Returns:
String

isActive

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

Returns:
boolean

setActive

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

Parameters:
active -

setHost

public void setHost(String host)
Set the proxy host.

Parameters:
host -

setNonProxyHosts

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

Parameters:
nonProxyHosts -

setPassword

public void setPassword(String password)
Set the proxy password.

Parameters:
password -

setPort

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

Parameters:
port -

setProtocol

public void setProtocol(String protocol)
Set the proxy protocol.

Parameters:
protocol -

setUsername

public void setUsername(String username)
Set the proxy user.

Parameters:
username -


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.