public class SportEventStatusFactoryImpl extends Object implements SportEventStatusFactory
MatchStatus,...| Constructor and Description |
|---|
SportEventStatusFactoryImpl(SportEventStatusCache sportEventStatusCache,
NamedValuesProvider namedValuesProvider) |
| Modifier and Type | Method and Description |
|---|---|
<T extends CompetitionStatus> |
buildSportEventStatus(Urn eventId,
Class<T> targetClass,
boolean makeApiCall)
Builds the requested sport event status type
|
@Inject public SportEventStatusFactoryImpl(SportEventStatusCache sportEventStatusCache, NamedValuesProvider namedValuesProvider)
public <T extends CompetitionStatus> T buildSportEventStatus(Urn eventId, Class<T> targetClass, boolean makeApiCall)
buildSportEventStatus in interface SportEventStatusFactoryT - the expected return typeeventId - a Urn representing the id of the sport event whose status to buildtargetClass - the expected return type classmakeApiCall - should the API call be made if necessaryCompetitionStatus representing the status of the specified sport eventCopyright © 2016–2025. All rights reserved.