net.sourceforge.cvsgrab
Class WebOptions

java.lang.Object
  extended by net.sourceforge.cvsgrab.WebOptions

public class WebOptions
extends Object

Options for the web repository

Version:
$Revision: 1.4 $ $Date: 2005/06/25 19:51:33 $
Author:
Ludovic Claude
Created:
on 9 mars 2004

Nested Class Summary
 class WebOptions.HttpProxy
          Nested element for configuring the proxy for http connections
 class WebOptions.WebAuthentification
          Nested element for configuring the web server authentification
 
Constructor Summary
WebOptions()
           
 
Method Summary
 void clearLocation()
          Clears the location parameters
 WebOptions.HttpProxy getHttpProxy()
          Gets the httpProxy.
 String getPackagePath()
           
 String getProjectRoot()
           
 String getQueryParams()
           
 String getRootUrl()
           
 String getVersionTag()
           
 WebOptions.WebAuthentification getWebAuthentification()
          Gets the webAuthentification.
 String getWebInterfaceId()
          Gets the webInterfaceId.
 void readProperties(Properties properties)
           
 void setHttpProxy(WebOptions.HttpProxy httpProxy)
          Sets the httpProxy.
 void setPackagePath(String packagePath)
          Sets the path of the package/module to update from CVS
 void setProjectRoot(String projectRoot)
           
 void setQueryParams(String queryParams)
           
 void setRootUrl(String rootUrl)
          Sets the url for the root of the CVS repository accessible via ViewCVS
 void setupConnectionSettings()
          Setup the the http proxy and the web authentification settings.
 void setVersionTag(String versionTag)
          Sets the name of the tagged version of the files to retrieve, or null
 void setWebAuthentification(WebOptions.WebAuthentification webAuthentification)
          Sets the webAuthentification.
 void setWebInterfaceId(String webInterfaceId)
          Sets the webInterfaceId.
 void writeProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebOptions

public WebOptions()
Method Detail

setupConnectionSettings

public void setupConnectionSettings()
Setup the the http proxy and the web authentification settings.


readProperties

public void readProperties(Properties properties)

writeProperties

public void writeProperties(Properties properties)

getRootUrl

public String getRootUrl()
Returns:
Returns the rootUrl.

setRootUrl

public void setRootUrl(String rootUrl)
Sets the url for the root of the CVS repository accessible via ViewCVS

Parameters:
rootUrl - The rootUrl to set.

getPackagePath

public String getPackagePath()
Returns:
Returns the packagePath.

setPackagePath

public void setPackagePath(String packagePath)
Sets the path of the package/module to update from CVS

Parameters:
packagePath - The packagePath to set.

getProjectRoot

public String getProjectRoot()
Returns:
The project root, used by CVS with multiple repositories

setProjectRoot

public void setProjectRoot(String projectRoot)

getVersionTag

public String getVersionTag()
Returns:
Returns the versionTag.

setVersionTag

public void setVersionTag(String versionTag)
Sets the name of the tagged version of the files to retrieve, or null

Parameters:
versionTag - The versionTag to set.

getQueryParams

public String getQueryParams()
Returns:
Returns the queryParams.

setQueryParams

public void setQueryParams(String queryParams)
Parameters:
queryParams - The queryParams to set.

getWebInterfaceId

public String getWebInterfaceId()
Gets the webInterfaceId.

Returns:
the webInterfaceId.

setWebInterfaceId

public void setWebInterfaceId(String webInterfaceId)
Sets the webInterfaceId.

Parameters:
webInterfaceId - The webInterfaceId to set.

getHttpProxy

public WebOptions.HttpProxy getHttpProxy()
Gets the httpProxy.

Returns:
the httpProxy.

setHttpProxy

public void setHttpProxy(WebOptions.HttpProxy httpProxy)
Sets the httpProxy.

Parameters:
httpProxy - The httpProxy to set.

getWebAuthentification

public WebOptions.WebAuthentification getWebAuthentification()
Gets the webAuthentification.

Returns:
the webAuthentification.

setWebAuthentification

public void setWebAuthentification(WebOptions.WebAuthentification webAuthentification)
Sets the webAuthentification.

Parameters:
webAuthentification - The webAuthentification to set.

clearLocation

public void clearLocation()
Clears the location parameters



Copyright © 2002-2005 Ludovic Claude. All Rights Reserved.