Class APISettings

java.lang.Object
de.xima.fc.api.APISettings

public final class APISettings extends Object
Current settings of the API.
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • APISettings

      public APISettings()
  • Method Details

    • getFServer

      public FrontendServer getFServer()
      Getter des aktuellen Frontend-Servers.
      Returns:
      FrontendServer dem aktuell eingestellten FrontendServer oder null bei lokalem ausführen
    • isConnected

      public boolean isConnected()
    • getHandlerProvider

      public IHandlerProvider getHandlerProvider()
    • init

      public void init(IHandlerProvider handlerProvider)
      Parameters:
      handlerProvider - to be set.
    • changeScope

      public void changeScope(FrontendServer frontendServer)
      Methode zum Wecheln des API-Scops zwischen Local- oder Remote-Ausführung.
      Parameters:
      frontendServer - FrontendServer der neue aktuelle FrontendServer oder null bei lokaler Ausführung
    • isFrontendServer

      @Deprecated public boolean isFrontendServer()
      Deprecated.
      Returns:
      true if the current web app is a frontend server and false otherwise.
    • setFrontendServer

      @Deprecated public void setFrontendServer(boolean isFrontendServer)
      Deprecated.
      Do not change the state of the web app! For checking the type of web app use IWebAppDescriptor.getServerType() via the WebAppContext
      Parameters:
      isFrontendServer - to set