org.deegree.portal.owswatch.configs
Class GeneralConfig
java.lang.Object
  
org.deegree.portal.owswatch.configs.GeneralConfig
- All Implemented Interfaces: 
 - Serializable
 
public class GeneralConfig
- extends Object
- implements Serializable
  
GeneralConfiguration Element of the owswatchConfiguration.xml
- Version:
 
  - $Revision: 20271 $, $Date: 2009-10-21 13:07:15 +0200 (Wed, 21 Oct 2009) $
 
- Author:
 
  - Moataz Elmasry, last edited by: $Author: jmays $
 
- See Also:
 - Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
GeneralConfig
public GeneralConfig(int globalRefreshRate,
                     Map<String,User> users,
                     String mailFrom,
                     String mailServer,
                     String protFolderPath,
                     String serviceInstancesPath,
                     String serverAddress)
- Parameters:
 globalRefreshRate - users - mailFrom - mailServer - protFolderPath - serviceInstancesPath - serverAddress - 
getGlobalRefreshRate
public int getGlobalRefreshRate()
 
- Returns:
 - GlobalRefreshRate
 
 
setGlobalRefreshRate
public void setGlobalRefreshRate(int globalRefreshRate)
 
- Parameters:
 globalRefreshRate - 
 
getMailFrom
public String getMailFrom()
 
- Returns:
 - The email sender
 
 
setMailFrom
public void setMailFrom(String mailFrom)
 
- Parameters:
 mailFrom - The email sender
 
getMailServer
public String getMailServer()
 
- Returns:
 - MailServer
 
 
setMailServer
public void setMailServer(String mailServer)
 
- Parameters:
 mailServer - 
 
getProtFolderPath
public String getProtFolderPath()
 
- Returns:
 - Path to the protocol folder relativ to WEB-INF/conf/owswatch
 
 
setProtFolder
public void setProtFolder(String protFolderPath)
 
- Parameters:
 protFolderPath - Path to the protocol folder relativ to WEB-INF/conf/owswatch
 
getServerAddress
public String getServerAddress()
 
- Returns:
 - www Address of owsWatch
 
 
setServerAddress
public void setServerAddress(String serverAddress)
 
- Parameters:
 serverAddress - www Address of owsWatch
 
getServiceInstancesPath
public String getServiceInstancesPath()
 
- Returns:
 - path to serviceInstances xml relativ to WEB-INF/conf/owswatch
 
 
setServiceInstancesPath
public void setServiceInstancesPath(String serviceInstancesPath)
 
- Parameters:
 serviceInstancesPath - path to serviceInstances xml relativ to WEB-INF/conf/owswatch
 
getUsers
public Map<String,User> getUsers()
 
- Returns:
 - Users
 
 
setUsers
public void setUsers(Map<String,User> users)
 
- Parameters:
 users - Users
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org