Enum Class MarketStatus
- All Implemented Interfaces:
Serializable,Comparable<MarketStatus>,java.lang.constant.Constable
MarketStatus describes the status for a market (line) and it can be in one of three states
- Active - Odds are provided and bets can be accepted
- Suspended - Bets should not be accepted, but odds are still provided
- Deactivated - Odds are no longer provided for this market.
- Settled - Odds are no longer provided for this market and it has been settled.
- Cancelled - Odds are no longer provided for this market as it has been cancelled.
- HandedOver - A special signal, not an actual state, signals that this market is now handled by another odds producer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic MarketStatusfromFeedValue(com.sportradar.uf.datamodel.UfMarketStatus status) static MarketStatusReturns the enum constant of this class with the specified name.static MarketStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Active
-
Suspended
-
Deactivated
-
Settled
-
Cancelled
-
HandedOver
-
-
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
-
fromFeedValue
-