Interface SportEventStatusFactory

All Known Implementing Classes:
SportEventStatusFactoryImpl

public interface SportEventStatusFactory
Defines methods used to build various sport event statuses
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends CompetitionStatus>
    T
    buildSportEventStatus(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 - a Urn representing the id of the sport event whose status to build
      targetClass - the expected return type class
      makeApiCall - should the API call be made if necessary
      Returns:
      a CompetitionStatus representing the status of the specified sport event