Package de.xima.fc.interfaces.server
Interface IServerConfig
-
- All Known Implementing Classes:
FrontendServer
public interface IServerConfig
Common interface for server configurations allowing access to server settings and features.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Set<String>
getFeatures()
Returns a set of features this server provides.Set<UserPortal>
getUserPortals()
Returns all user portals that are enabled on this server.default boolean
hasFeature(EServerConfigFeature feature)
Returns whether this server configuration has the given feature enabled.default boolean
hasFeature(String feature)
Returns whether this server configuration has the given feature enabled.
-
-
-
Method Detail
-
getFeatures
Set<String> getFeatures()
Returns a set of features this server provides.- Returns:
- A set of features this server provides.
-
getUserPortals
Set<UserPortal> getUserPortals()
Returns all user portals that are enabled on this server.- Returns:
- a set of all user portals that are enabled on this server.
-
hasFeature
default boolean hasFeature(String feature)
Returns whether this server configuration has the given feature enabled.- Parameters:
feature
- to check.- Returns:
true
if the given server feature is enabled in this server configuration andfalse
otherwise.
-
hasFeature
default boolean hasFeature(EServerConfigFeature feature)
Returns whether this server configuration has the given feature enabled.- Parameters:
feature
- to check.- Returns:
true
if the given server feature is enabled in this server configuration andfalse
otherwise.
-
-