public enum FormatType extends Enum<FormatType> implements com.sportradar.sdk.common.interfaces.EntityEnum
Enum Constant and Description |
---|
BATTING_POWERPLAY_OVERS
Batting powerplay overs
|
CONVERSION_VALUE
Conversion value
|
DAYS
Days
|
DROP_GOAL_VALUE
Drop goal value
|
EXTRA_POINT_YARD_LINE
Extra point yard line
|
LENGTH_OVERTIME_PERIODS
Length overtime periods
|
LENGTH_SUDDEN_DEATH
Length sudden death
|
LIMITED_OVERS
Limited overs
|
MANDATORY_POWERPLAY_OVERS
Mandatory powerplay overs
|
MAPS
Maps
|
MAX_OVERS_PER_BOWLER
Max overs per bowler
|
NO_BALL_PENALTY_VALUE
Penalty value of no ball
|
NUMBER_OF_PERIODS
Number of periods
|
NUMBER_OVERTIME_PERIODS
Number overtime periods
|
OVERS
Overs
|
OVERTIME_ROUNDS
Overtime rounds
|
PENALTY_SHOOTOUT
Penalty shootout
|
PENALTY_TRY_VALUE
Penalty try value
|
PENALTY_VALUE
Penalty value
|
PERIOD_LENGTH
Period length
|
POWERPLAY1OVERS
Powerplay 1 overs
|
POWERPLAY2OVERS
Powerplay 2 overs
|
POWERPLAY3OVERS
Powerplay 3 overs
|
REGULAR_INNINGS
Number of regular innings in MLB
|
REVIEWS
Reviews
|
ROUNDS
Rounds
|
RULE_SET
Rule set
|
TIE_BREAKER_METHOD
How a tied match is resolved, if at all
|
TRY_VALUE
Try value
|
TWO_POINT_CONVERSION_YARD_LINE
Two point conversion yard line
|
Modifier and Type | Method and Description |
---|---|
static FormatType |
getFormatTypeFromLiteralValue(String value)
Gets enum from string value
|
String |
getLiteralValue()
Gets literal value
|
boolean |
isLiteralValueEqual(String value)
Determines whether the passed
value is equal to value associated with the current FormatType |
static FormatType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatType LIMITED_OVERS
public static final FormatType OVERS
public static final FormatType DAYS
public static final FormatType MANDATORY_POWERPLAY_OVERS
public static final FormatType BATTING_POWERPLAY_OVERS
public static final FormatType POWERPLAY1OVERS
public static final FormatType POWERPLAY2OVERS
public static final FormatType POWERPLAY3OVERS
public static final FormatType MAX_OVERS_PER_BOWLER
public static final FormatType REVIEWS
public static final FormatType MAPS
public static final FormatType ROUNDS
public static final FormatType OVERTIME_ROUNDS
public static final FormatType NUMBER_OF_PERIODS
public static final FormatType PERIOD_LENGTH
public static final FormatType TRY_VALUE
public static final FormatType CONVERSION_VALUE
public static final FormatType PENALTY_VALUE
public static final FormatType DROP_GOAL_VALUE
public static final FormatType PENALTY_TRY_VALUE
public static final FormatType NUMBER_OVERTIME_PERIODS
public static final FormatType LENGTH_OVERTIME_PERIODS
public static final FormatType LENGTH_SUDDEN_DEATH
public static final FormatType PENALTY_SHOOTOUT
public static final FormatType RULE_SET
public static final FormatType TWO_POINT_CONVERSION_YARD_LINE
public static final FormatType EXTRA_POINT_YARD_LINE
public static final FormatType NO_BALL_PENALTY_VALUE
public static final FormatType TIE_BREAKER_METHOD
public static final FormatType REGULAR_INNINGS
public static FormatType[] values()
for (FormatType c : FormatType.values()) System.out.println(c);
public static FormatType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static FormatType getFormatTypeFromLiteralValue(String value) throws com.sportradar.sdk.common.exceptions.UnknownEnumException
value
- string representation of enumcom.sportradar.sdk.common.exceptions.UnknownEnumException
- if invalid value is passedpublic String getLiteralValue()
public boolean isLiteralValueEqual(String value)
value
is equal to value associated with the current FormatType
isLiteralValueEqual
in interface com.sportradar.sdk.common.interfaces.EntityEnum
value
- a value to be compared to the value associated with the current FormatType
value
is equal to the value associated with the current FormatType
. Otherwise false.Copyright © 2013–2023. All rights reserved.