Package de.xima.fc.proma.provider
Class PromaApiProvider
- java.lang.Object
 - 
- de.xima.fc.proma.provider.PromaApiProvider
 
 
- 
public final class PromaApiProvider extends Object
Provides global access to the currentIPromaApiProviderfor interacting with the PROMA API.- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPromaApiProviderpromaApiProvider()static voidsetProvider(IPromaApiProvider provider)Changes the global PROMA API provider. 
 - 
 
- 
- 
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.
 
 - 
 
 -