Enum Class EventStatus
- All Implemented Interfaces:
Serializable,Comparable<EventStatus>,java.lang.constant.Constable
Possible competition statuses. This is a fixed set of states that are the same for any sport
Sportradar covers
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbandoned - when Sportradar aborts scouting the match - this means there will be no live reporting the match will likely take place anyhow, and after the match has been played Sportradar will likely enter the results and the match will be moved to closed/finishedCancelled - the sport event has been cancelled, the event will not take place, there will be no resultsDelayed - if a match has passed its scheduled start time but is delayed, unknown when it will start this is something that often happens in TennisEnded - the match has ended according to our own data, the final results may not be ready yetFinished - the final results have been published and confirmed (often happens much later than Ended)InterruptedLive - the match as far as we know is live could be over-time, extended time or between periods tooNotStarted - the match as far as we know has not yet startedPostponedSuspended - the match will continue but is temporarily suspendedUnknown - if a hitherto unsupported sport-event-status is received -
Method Summary
Modifier and TypeMethodDescriptionReturns the APIStringvaluestatic EventStatusReturns the enum constant of this class with the specified name.static EventStatusvalueOfApiStatusId(int status) static EventStatusvalueOfApiStatusName(String status) static EventStatusvalueOfMessageStatus(com.sportradar.uf.datamodel.UfEventStatusStatus status) static EventStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NotStarted
NotStarted - the match as far as we know has not yet started -
Live
Live - the match as far as we know is live could be over-time, extended time or between periods too -
Suspended
Suspended - the match will continue but is temporarily suspended -
Ended
Ended - the match has ended according to our own data, the final results may not be ready yet -
Finished
Finished - the final results have been published and confirmed (often happens much later than Ended) -
Cancelled
Cancelled - the sport event has been cancelled, the event will not take place, there will be no results -
Abandoned
Abandoned - when Sportradar aborts scouting the match - this means there will be no live reporting the match will likely take place anyhow, and after the match has been played Sportradar will likely enter the results and the match will be moved to closed/finished -
Delayed
Delayed - if a match has passed its scheduled start time but is delayed, unknown when it will start this is something that often happens in Tennis -
Unknown
Unknown - if a hitherto unsupported sport-event-status is received -
Postponed
Postponed -
Interrupted
Interrupted
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
valueOfApiStatusName
-
valueOfApiStatusId
-
valueOfMessageStatus
public static EventStatus valueOfMessageStatus(com.sportradar.uf.datamodel.UfEventStatusStatus status) -
getApiName
Returns the APIStringvalue- Returns:
- the API
Stringvalue
-