Class NamedValuesProviderImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.caching.impl.NamedValuesProviderImpl
- All Implemented Interfaces:
NamedValuesProvider
The default implementation of the
NamedValuesProvider-
Constructor Summary
ConstructorsConstructorDescriptionNamedValuesProviderImpl(NamedValueCache voidReasons, NamedValueCache betStopReasons, NamedValueCache bettingStatuses, LocalizedNamedValueCache matchStatuses) Initializes a new instance ofNamedValuesProviderImpl -
Method Summary
Modifier and TypeMethodDescriptionReturns theNamedValueCacheproviding bet stop reason descriptionsReturns theNamedValueCacheproviding betting status descriptionsReturns theLocalizedNamedValueCacheproviding match status descriptionsReturns theNamedValueCacheproviding void reason descriptions
-
Constructor Details
-
NamedValuesProviderImpl
@Inject public NamedValuesProviderImpl(NamedValueCache voidReasons, NamedValueCache betStopReasons, NamedValueCache bettingStatuses, LocalizedNamedValueCache matchStatuses) Initializes a new instance ofNamedValuesProviderImpl- Parameters:
voidReasons- - TheNamedValueCacheproviding void reason descriptionsbetStopReasons- - TheNamedValueCacheproviding bet stop reason descriptionsbettingStatuses- - TheNamedValueCacheproviding betting status descriptionsmatchStatuses- - TheLocalizedNamedValueCacheproviding match status descriptions
-
-
Method Details
-
getVoidReasons
Returns theNamedValueCacheproviding void reason descriptions- Specified by:
getVoidReasonsin interfaceNamedValuesProvider- Returns:
- - the
NamedValueCacheproviding void reason descriptions
-
getBetStopReasons
Returns theNamedValueCacheproviding bet stop reason descriptions- Specified by:
getBetStopReasonsin interfaceNamedValuesProvider- Returns:
- - the
NamedValueCacheproviding bet stop reason descriptions
-
getBettingStatuses
Returns theNamedValueCacheproviding betting status descriptions- Specified by:
getBettingStatusesin interfaceNamedValuesProvider- Returns:
- - the
NamedValueCacheproviding betting status descriptions
-
getMatchStatuses
Returns theLocalizedNamedValueCacheproviding match status descriptions- Specified by:
getMatchStatusesin interfaceNamedValuesProvider- Returns:
- - the
LocalizedNamedValueCacheproviding match status descriptions
-