Interface SportEventStatusFactory
- All Known Implementing Classes:
SportEventStatusFactoryImpl
public interface SportEventStatusFactory
Defines methods used to build various sport event statuses
-
Method Summary
Modifier and TypeMethodDescription<T extends CompetitionStatus>
TbuildSportEventStatus(Urn eventId, Class<T> targetClass, boolean makeApiCall) Builds the requested sport event status type
-
Method Details
-
buildSportEventStatus
<T extends CompetitionStatus> T buildSportEventStatus(Urn eventId, Class<T> targetClass, boolean makeApiCall) Builds the requested sport event status type- Type Parameters:
T- the expected return type- Parameters:
eventId- aUrnrepresenting the id of the sport event whose status to buildtargetClass- the expected return type classmakeApiCall- should the API call be made if necessary- Returns:
- a
CompetitionStatusrepresenting the status of the specified sport event
-