public interface ConfigurationBuilderBase<T>
| Modifier and Type | Method and Description | 
|---|---|
UofConfiguration | 
build()
Builds and returns a  
UofConfiguration instance | 
T | 
loadConfigFromApplicationYml()
Sets the general configuration properties to values read from configuration file. 
 | 
T | 
loadConfigFromSdkProperties()
Sets the general configuration properties to values read from configuration file. 
 | 
T | 
setDefaultLanguage(Locale defaultLanguage)
Sets the default language for the translatable data 
 | 
T | 
setDesiredLanguages(List<Locale> desiredLanguages)
Sets the languages in which translatable data is available 
 | 
T | 
setDisabledProducers(List<Integer> producerIds)
Specifies the producers which should be disabled (i.e. 
 | 
T | 
setExceptionHandlingStrategy(ExceptionHandlingStrategy exceptionHandlingStrategy)
Sets the value specifying how exceptions thrown in the SDK are handled 
 | 
T | 
setNodeId(int nodeId)
Sets the node id used to separate between SDK instances associated with the same account
 MTS customer must set this value! Use only positive numbers; negative are reserved for internal use. 
 | 
T loadConfigFromSdkProperties()
ConfigurationBuilderBase methods are set. Any values already set by methods on the current instance
 are overridden.
 The properties file should be named "UFSdkConfiguration.properties" and localed in the application resources folderConfigurationBuilderBase derived instance used to set general configuration propertiesT loadConfigFromApplicationYml()
ConfigurationBuilderBase methods are set. Any values already set by methods on the current instance
 are overridden.
 The YAML file should be named "application.yml" and localed in the application resources folderConfigurationBuilderBase derived instance used to set general configuration propertiesT setDefaultLanguage(Locale defaultLanguage)
defaultLanguage - a Locale which will be used as defaultConfigurationBuilderBase derived instance used to set general configuration propertiesT setDesiredLanguages(List<Locale> desiredLanguages)
desiredLanguages - a List of Locales in which translatable data should be availableConfigurationBuilderBase derived instance used to set general configuration propertiesT setExceptionHandlingStrategy(ExceptionHandlingStrategy exceptionHandlingStrategy)
exceptionHandlingStrategy - a ExceptionHandlingStrategy enum specifying how exceptions thrown in the SDK are handledConfigurationBuilderBase derived instance used to set general configuration propertiesT setNodeId(int nodeId)
nodeId - the node id to be setConfigurationBuilderBase derived instance used to set general configuration propertiesT setDisabledProducers(List<Integer> producerIds)
producerIds - the list of producer ids specifying the producers which should be disabledRecoveryConfigurationBuilder derived instance used to set general configuration propertiesUofConfiguration build()
UofConfiguration instanceUofConfiguration instanceCopyright © 2016–2025. All rights reserved.