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