Package de.xima.fc.ms.config
Class MasterServerConfig
- java.lang.Object
-
- de.xima.fc.ms.config.MasterServerConfig
-
- All Implemented Interfaces:
IServerConfig
public class MasterServerConfig extends Object implements IServerConfig
Current settings of the master server.- Since:
- 8.4.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description MasterServerConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getFeatures()Returns a set of features this server provides.static MasterServerConfiggetInstance()StringgetServerProperty(String key)Returns the value of the server property with the given key.Set<UserPortal>getUserPortals()Returns all user portals that are enabled on this server.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.server.IServerConfig
hasFeature, hasFeature
-
-
-
-
Method Detail
-
getInstance
public static MasterServerConfig getInstance()
-
getFeatures
public Set<String> getFeatures()
Description copied from interface:IServerConfigReturns a set of features this server provides.- Specified by:
getFeaturesin interfaceIServerConfig- Returns:
- A set of features this server provides.
-
getUserPortals
public Set<UserPortal> getUserPortals()
Description copied from interface:IServerConfigReturns all user portals that are enabled on this server.- Specified by:
getUserPortalsin interfaceIServerConfig- Returns:
- a set of all user portals that are enabled on this server.
-
getServerProperty
public String getServerProperty(String key)
Description copied from interface:IServerConfigReturns the value of the server property with the given key.- Specified by:
getServerPropertyin interfaceIServerConfig- Parameters:
key- the key of the server property.- Returns:
- the value of the server property with the given key. If the property does not exist,
nullis returned.
-
-