public class UofConfigurationImpl extends Object implements UofConfiguration
| Constructor and Description | 
|---|
UofConfigurationImpl(Function<UofConfiguration,WhoAmIReader> buildWhoAmIReader,
                    Function<UofConfiguration,ProducerDataProvider> buildProducerDataProvider)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
acquireBookmakerDetailsAndProducerData()  | 
void | 
checkAndUpdateConnectionSettings()  | 
String | 
getAccessToken()  | 
UofAdditionalConfiguration | 
getAdditional()
Get the additional configuration 
 | 
UofApiConfiguration | 
getApi()
Get the Api configuration 
 | 
String | 
getApiHostAndPort()  | 
BookmakerDetails | 
getBookmakerDetails()
Get the bookmaker details 
 | 
UofCacheConfiguration | 
getCache()
Get the cache configuration 
 | 
Locale | 
getDefaultLanguage()
The locale used for any getter that returns localized Strings. 
 | 
Environment | 
getEnvironment()  | 
ExceptionHandlingStrategy | 
getExceptionHandlingStrategy()
Returns the  
ExceptionHandlingStrategy which will be used through the SDK | 
List<Locale> | 
getLanguages()
Returns a  
List of locales in which the data should be prefetched | 
Integer | 
getNodeId()
Returns the assigned SDK node identifier
 MTS customer must set this value! Use only positive numbers; negative are reserved for internal use. 
 | 
UofProducerConfiguration | 
getProducer()
Get the producer and session configuration 
 | 
UofRabbitConfiguration | 
getRabbit()
Get the configuration related to connection to amqp broker 
 | 
UofUsageConfiguration | 
getUsage()
Gets the settings for usage exporter 
 | 
void | 
setAccessToken(String token)  | 
void | 
setDefaultLanguage(Locale language)  | 
void | 
setEnableUsageExport(boolean enableUsageExport)  | 
void | 
setExceptionHandlingStrategy(ExceptionHandlingStrategy handlingStrategy)  | 
void | 
setLanguages(List<Locale> languageList)  | 
void | 
setNodeId(int id)  | 
String | 
toString()  | 
void | 
updateSdkEnvironment(Environment env)  | 
void | 
validateMinimumSettings()  | 
public UofConfigurationImpl(Function<UofConfiguration,WhoAmIReader> buildWhoAmIReader, Function<UofConfiguration,ProducerDataProvider> buildProducerDataProvider)
public String getAccessToken()
getAccessToken in interface UofConfigurationpublic Environment getEnvironment()
getEnvironment in interface UofConfigurationpublic Locale getDefaultLanguage()
UofConfigurationgetDefaultLanguage in interface UofConfigurationpublic List<Locale> getLanguages()
UofConfigurationList of locales in which the data should be prefetchedgetLanguages in interface UofConfigurationList of locales in which the data should be prefetchedpublic Integer getNodeId()
UofConfigurationgetNodeId in interface UofConfigurationpublic ExceptionHandlingStrategy getExceptionHandlingStrategy()
UofConfigurationExceptionHandlingStrategy which will be used through the SDKgetExceptionHandlingStrategy in interface UofConfigurationExceptionHandlingStrategy which will be used through the SDKpublic BookmakerDetails getBookmakerDetails()
UofConfigurationgetBookmakerDetails in interface UofConfigurationpublic UofApiConfiguration getApi()
UofConfigurationgetApi in interface UofConfigurationpublic UofRabbitConfiguration getRabbit()
UofConfigurationgetRabbit in interface UofConfigurationpublic UofCacheConfiguration getCache()
UofConfigurationgetCache in interface UofConfigurationpublic UofProducerConfiguration getProducer()
UofConfigurationgetProducer in interface UofConfigurationpublic UofAdditionalConfiguration getAdditional()
UofConfigurationgetAdditional in interface UofConfigurationpublic UofUsageConfiguration getUsage()
UofConfigurationgetUsage in interface UofConfigurationpublic void setAccessToken(String token)
public void setDefaultLanguage(Locale language)
public void setExceptionHandlingStrategy(ExceptionHandlingStrategy handlingStrategy)
public void setNodeId(int id)
public void setEnableUsageExport(boolean enableUsageExport)
public void updateSdkEnvironment(Environment env)
public void checkAndUpdateConnectionSettings()
public String getApiHostAndPort()
public void validateMinimumSettings()
public void acquireBookmakerDetailsAndProducerData()
Copyright © 2016–2025. All rights reserved.