Interface TimelineEvent
public interface TimelineEvent
Defines methods used to access timeline event properties
-
Method Summary
Modifier and TypeMethodDescriptionReturns the period to which the timeline event belongs toReturns the timeline event away scoredefault GoalScorerReturns the period to which the timeline event belongs toReturns the timeline event home scorelonggetId()Returns the timeline event identifierdefault StringReturns the match clockdefault IntegerReturns the match status codeReturns the timeline event match timedefault StringReturns the period to which the timeline event belongs toReturns the name of the period to which the timeline event belongs todefault EventPlayerReturns the period to which the timeline event belongs todefault StringReturns the pointsdefault StringReturns the stoppage timegetTeam()Returns an indication of which team was the cause for the timeline eventgetTime()Returns the timeline event timegetType()Returns the timeline event typedefault StringgetValue()Returns the valuedefault IntegergetX()Returns the X valuedefault IntegergetY()Returns the Y value
-
Method Details
-
getId
long getId()Returns the timeline event identifier- Returns:
- the timeline event identifier
-
getHomeScore
BigDecimal getHomeScore()Returns the timeline event home score- Returns:
- the home score
-
getAwayScore
BigDecimal getAwayScore()Returns the timeline event away score- Returns:
- the away score
-
getMatchTime
Integer getMatchTime()Returns the timeline event match time- Returns:
- the match time
-
getPeriodName
String getPeriodName()Returns the name of the period to which the timeline event belongs to- Returns:
- the period name
-
getTeam
HomeAway getTeam()Returns an indication of which team was the cause for the timeline event- Returns:
- an indication of which team was the cause for the timeline event
-
getType
String getType()Returns the timeline event type- Returns:
- the timeline event type
-
getTime
Date getTime()Returns the timeline event time- Returns:
- the timeline event time
-
getPeriod
Returns the period to which the timeline event belongs to- Returns:
- the period
-
getPoints
Returns the points- Returns:
- the points
-
getStoppageTime
Returns the stoppage time- Returns:
- the stoppage time
-
getValue
Returns the value- Returns:
- the value
-
getX
Returns the X value- Returns:
- the X value
-
getY
Returns the Y value- Returns:
- the Y value
-
getMatchStatusCode
Returns the match status code- Returns:
- the match status code
-
getMatchClock
Returns the match clock- Returns:
- the match clock
-
getGoalScorer
Returns the period to which the timeline event belongs to- Returns:
- the period
-
getPlayer
Returns the period to which the timeline event belongs to- Returns:
- the period
-
getAssists
Returns the period to which the timeline event belongs to- Returns:
- the period
-