org.apache.maven.settings
Class Proxy

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

public class Proxy
extends IdentifiableBase
implements Serializable

null

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 getModelEncoding()
           
 String getNonProxyHosts()
          Get The list of non-proxied hosts (usually comma-delimited).
 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)
           
 void setNonProxyHosts(String nonProxyHosts)
          Set The list of non-proxied hosts (usually comma-delimited).
 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.


getNonProxyHosts

public String getNonProxyHosts()
Get The list of non-proxied hosts (usually comma-delimited).


getPassword

public String getPassword()
Get The proxy password.


getPort

public int getPort()
Get The proxy port.


getProtocol

public String getProtocol()
Get The proxy protocol.


getUsername

public 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(String host)
Set The proxy host.

Parameters:
host -

setNonProxyHosts

public void setNonProxyHosts(String nonProxyHosts)
Set The list of non-proxied hosts (usually comma-delimited).

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 -

setModelEncoding

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

getModelEncoding

public String getModelEncoding()
Overrides:
getModelEncoding in class IdentifiableBase


Copyright 2001-2001-2006 Apache Software Foundation. All Rights Reserved.