public interface SportEventStatusFactory
Modifier and Type | Method and Description |
---|---|
<T extends CompetitionStatus> |
buildSportEventStatus(Urn eventId,
Class<T> targetClass,
boolean makeApiCall)
Builds the requested sport event status type
|
<T extends CompetitionStatus> T buildSportEventStatus(Urn eventId, Class<T> targetClass, boolean makeApiCall)
T
- 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.