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 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 and false 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 and false otherwise.