Class PromaApiProvider


  • public final class PromaApiProvider
    extends Object
    Provides global access to the current IPromaApiProvider for interacting with the PROMA API.
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • promaApiProvider

        public static IPromaApiProvider promaApiProvider()
        Returns:
        The current provider for interacting with the PROMA API.
      • setProvider

        public static void setProvider​(IPromaApiProvider provider)
        Changes the global PROMA API provider. This is intended mainly for tests and should normally not be used in production code.
        Parameters:
        provider - The new global provider to use.