Interface Match

All Superinterfaces:
Competition, SportEvent
All Known Implementing Classes:
MatchImpl

public interface Match extends Competition
Defines methods implemented by classes representing sport events of match type
  • Method Details

    • getStatus

      MatchStatus getStatus()
      Returns a MatchStatus containing information about the progress of the match associated with the current instance
      Specified by:
      getStatus in interface Competition
      Returns:
      - a MatchStatus containing information about the progress of the match associated with the current instance
    • getSeason

      SeasonInfo getSeason()
      Returns a SeasonInfo instance providing basic information about the season to which the sport event associated with the current instance belongs to
      Returns:
      - a SeasonInfo instance providing basic information about the season
    • getTournamentRound

      Round getTournamentRound()
      Returns a Round instance describing the tournament round to which the sport event associated with current instance belongs to
      Returns:
      - a Round instance describing the tournament round
    • getHomeCompetitor

      TeamCompetitor getHomeCompetitor()
      Returns a TeamCompetitor instance describing the home competitor
      Returns:
      - a TeamCompetitor instance describing the home competitor
    • getAwayCompetitor

      TeamCompetitor getAwayCompetitor()
      Returns a TeamCompetitor instance describing the away competitor
      Returns:
      - a TeamCompetitor instance describing the away competitor
    • getTournament

      LongTermEvent getTournament()
      Returns the tournament associated with the current instance (possible types can be BasicTournament and Tournament)
      Returns:
      - the tournament associated with the current instance
    • getFixture

      Fixture getFixture()
      Returns the Fixture instance containing information about the arranged sport event A Fixture is a sport event that has been arranged for a particular time and place
      Returns:
      - the Fixture instance containing information about the arranged sport event
    • getEventTimeline

      EventTimeline getEventTimeline(Locale locale)
      Returns the associated EventTimeline (NOTICE: the timeline is cached only after the event status indicates that the event has finished)
      Parameters:
      locale - the locale in which the timeline should be provided
      Returns:
      the associated event timeline
    • getEventTimelineIfPresent

      default Optional<EventTimeline> getEventTimelineIfPresent(Locale locale)
      Returns the associated EventTimeline if already cached (does not make API call) (NOTICE: the timeline is cached only after the event status indicates that the event has finished)
      Parameters:
      locale - the locale in which the timeline should be provided
      Returns:
      - a associated EventTimeline if already cached (does not make API call)
    • getDelayedInfo

      DelayedInfo getDelayedInfo()
      Returns a DelayedInfo instance describing possible information about a delay
      Returns:
      a DelayedInfo instance describing information about a possible delay
    • getCoverageInfo

      default CoverageInfo getCoverageInfo()
      Returns a CoverageInfo instance
      Returns:
      a CoverageInfo instance
    • getSport

      SportSummary getSport()