Enum ScoutMatchStatus
- All Implemented Interfaces:
EntityEnum,Serializable,Comparable<ScoutMatchStatus>,java.lang.constant.Constable
Match status
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe match has been abandonedAfter golden set (volleyball and beach volleyball)Overtime is finishedPenalties are finishedAfter sudden deathAfter super overAwaiting golden set (volleyball and beach volleyball)Waiting for overtime to startWaiting for penalty shooting to startAwaiting sudden deathAwaiting super overBreak top extra inning bottom extra inningBreak top extra inning bottom 7Break top extra inning bottom 9Break top 1 bottom 1Break top 2 bottom 1Break top 2 bottom 2Break top 3 bottom 2Break top 3 bottom 3Break top 4 bottom 3Break top 4 bottom 4Break top 5 bottom 4Break top 5 bottom 5Break top 6 bottom 5Break top 6 bottom 6Break top 7 bottom 6Break top 7 bottom 7Break top 8 bottom 7Break top 8 bottom 8Break top 9 bottom 8Break top 9 bottom 9The match has been cancelledCurrent.Player 1 defaulted (e.g.Player 2 defaulted (e.g.The match start is delayedEighth inning bottomEighth inning topThe match has endedExtra inning bottomExtra inning topFifth gameFifth inning bottomFifth inning topFifth map5th pause5th period of the match5th setFirst game1st half of the match1st half of overtimeFirst inning bottomFirst inning topFirst innings, away teamFirst innings, home teamFirst map1st pause1st period of the match1st quarter1st setFourth gameFourth inning bottomFourth inning topFourth map4th pause4th period of the match4th quarter4th setGolden set (volleyball and beach volleyball)Half timeIn progressInnings breakThe match has been interruptedLunch breakNinth inning bottomNinth inning topNot started yetPause between 1st and 2nd overtime periodMatch overtimeMatch pausedPenalty shootingThe match has been postponed and will be played later.Player retiredPlayer 1 retiredPlayer 2 retiredSecond game2nd half of the match2nd half of overtimeSecond inning bottomSecond inning topSecond innings, away teamSecond innings, home teamSecond map2nd pause2nd period of the match2nd quarter2nd setSession breakSeventh inning bottomSeventh inning topSeventh map7th setSixth inning bottomSixth inning topSixth map6th pause6th setMatch startedStumpsSudden deathSuper over, away teamSuper over breakSuper over, home teamTea breakThird gameThird inning bottomThird inning topThird map3rd pause3rd period of the match3rd quarter3rd setA walkover has been awardedPlayer 1 won by walkoverPlayer 2 won by walkover -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ScoutMatchStatusGets enum from string valueString[]getValue()Returns value of concrete enum member.static booleanisTerminalState(ScoutMatchStatus status) Return whether the given status is terminal.booleanisValueEqual(Object value) Determines whether the passedvalueis equal to value associated with the currentEntityEnumstatic ScoutMatchStatusReturns the enum constant of this type with the specified name.static ScoutMatchStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_STARTED
Not started yet -
CURRENT
Current. Used by try counts in Rugby -
FIRST_PERIOD
1st period of the match -
SECOND_PERIOD
2nd period of the match -
THIRD_PERIOD
3rd period of the match -
FOURTH_PERIOD
4th period of the match -
FIFTH_PERIOD
5th period of the match -
FIRST_HALF
1st half of the match -
SECOND_HALF
2nd half of the match -
FIRST_SET
1st set -
SECOND_SET
2nd set -
THIRD_SET
3rd set -
FOURTH_SET
4th set -
GOLDEN_SET
Golden set (volleyball and beach volleyball) -
AWAITING_GOLDEN_SET
Awaiting golden set (volleyball and beach volleyball) -
AFTER_GOLDEN_SET
After golden set (volleyball and beach volleyball) -
FIFTH_SET
5th set -
SIXTH_SET
6th set -
SEVENTH_SET
7th set -
FIRST_QUARTER
1st quarter -
SECOND_QUARTER
2nd quarter -
THIRD_QUARTER
3rd quarter -
FOURTH_QUARTER
4th quarter -
STARTED
Match started -
PAUSE
Match paused -
HALFTIME
Half time -
OVERTIME
Match overtime -
FIRST_HALF_OT
1st half of overtime -
SECOND_HALF_OT
2nd half of overtime -
PENALTY_SHOOTING
Penalty shooting -
POSTPONED
The match has been postponed and will be played later.Note : Signals a significant delay (will not be played on the same day), in which case a new match (with a different match ID) will be created.
-
DEFAULTED1
Player 1 defaulted (e.g. by being disqualified or failing to attend the match) -
DEFAULTED2
Player 2 defaulted (e.g. by being disqualified or failing to attend the match) -
DELAYED
The match start is delayed -
CANCELLED
The match has been cancelled -
INTERRUPTED
The match has been interruptedNote : Interrupted after start, will continue later. If the match cannot be continued, it will then be abandoned.
-
ABANDONED
The match has been abandoned -
WALKOVER
A walkover has been awarded -
RETIRED
Player retired -
WALKOVER1
Player 1 won by walkover -
WALKOVER2
Player 2 won by walkover -
RETIRED1
Player 1 retired -
RETIRED2
Player 2 retired -
ENDED
The match has ended -
AWAITING_OT
Waiting for overtime to start -
OT_HALFTIME
Pause between 1st and 2nd overtime period -
AWAITING_PENALTIES
Waiting for penalty shooting to start -
AFTER_OT
Overtime is finished -
AFTER_PENALTIES
Penalties are finished -
FIRST_PAUSE
1st pause -
SECOND_PAUSE
2nd pause -
THIRD_PAUSE
3rd pause -
FOURTH_PAUSE
4th pause -
FIFTH_PAUSE
5th pause -
SIXTH_PAUSE
6th pause -
SUDDEN_DEATH
Sudden death -
AWAITING_SD
Awaiting sudden death -
AFTER_SD
After sudden death -
IN_PROGRESS
In progress -
SESSION_BREAK
Session break -
FIRST_INNINGS_HOME_TEAM
First innings, home team -
FIRST_INNINGS_AWAY_TEAM
First innings, away team -
SECOND_INNINGS_HOME_TEAM
Second innings, home team -
SECOND_INNINGS_AWAY_TEAM
Second innings, away team -
AWAITING_SUPER_OVER
Awaiting super over -
SUPER_OVER_HOME_TEAM
Super over, home team -
SUPER_OVER_AWAY_TEAM
Super over, away team -
AFTER_SUPER_OVER
After super over -
INNINGS_BREAK
Innings break -
SUPER_OVER_BREAK
Super over break -
LUNCH_BREAK
Lunch break -
TEA_BREAK
Tea break -
STUMPS
Stumps -
FIRST_INNING_TOP
First inning top -
BREAK_TOP1_BOTTOM1
Break top 1 bottom 1 -
FIRST_INNING_BOTTOM
First inning bottom -
BREAK_TOP2_BOTTOM1
Break top 2 bottom 1 -
SECOND_INNING_TOP
Second inning top -
BREAK_TOP2_BOTTOM2
Break top 2 bottom 2 -
SECOND_INNING_BOTTOM
Second inning bottom -
BREAK_TOP3_BOTTOM2
Break top 3 bottom 2 -
THIRD_INNING_TOP
Third inning top -
BREAK_TOP3_BOTTOM3
Break top 3 bottom 3 -
THIRD_INNING_BOTTOM
Third inning bottom -
BREAK_TOP4_BOTTOM3
Break top 4 bottom 3 -
FOURTH_INNING_TOP
Fourth inning top -
BREAK_TOP4_BOTTOM4
Break top 4 bottom 4 -
FOURTH_INNING_BOTTOM
Fourth inning bottom -
BREAK_TOP5_BOTTOM4
Break top 5 bottom 4 -
FIFTH_INNING_TOP
Fifth inning top -
BREAK_TOP5_BOTTOM5
Break top 5 bottom 5 -
FIFTH_INNING_BOTTOM
Fifth inning bottom -
BREAK_TOP6_BOTTOM5
Break top 6 bottom 5 -
SIXTH_INNING_TOP
Sixth inning top -
BREAK_TOP6_BOTTOM6
Break top 6 bottom 6 -
SIXTH_INNING_BOTTOM
Sixth inning bottom -
BREAK_TOP7_BOTTOM6
Break top 7 bottom 6 -
SEVENTH_INNING_TOP
Seventh inning top -
BREAK_TOP7_BOTTOM7
Break top 7 bottom 7 -
SEVENTH_INNING_BOTTOM
Seventh inning bottom -
BREAK_TOP8_BOTTOM7
Break top 8 bottom 7 -
EIGHTH_INNING_TOP
Eighth inning top -
BREAK_TOP8_BOTTOM8
Break top 8 bottom 8 -
EIGHTH_INNING_BOTTOM
Eighth inning bottom -
BREAK_TOP9_BOTTOM8
Break top 9 bottom 8 -
NINTH_INNING_TOP
Ninth inning top -
BREAK_TOP9_BOTTOM9
Break top 9 bottom 9 -
NINTH_INNING_BOTTOM
Ninth inning bottom -
BREAK_TOP_EXTRA_INNING_BOTTOM7
Break top extra inning bottom 7 -
BREAK_TOP_EXTRA_INNING_BOTTOM9
Break top extra inning bottom 9 -
EXTRA_INNING_TOP
Extra inning top -
BREAK_TOP_EXTRA_INNING_BOTTOM_EXTRA_INNING
Break top extra inning bottom extra inning -
EXTRA_INNING_BOTTOM
Extra inning bottom -
FIRST_MAP
First map -
SECOND_MAP
Second map -
THIRD_MAP
Third map -
FOURTH_MAP
Fourth map -
FIFTH_MAP
Fifth map -
SIXTH_MAP
Sixth map -
SEVENTH_MAP
Seventh map -
FIRST_GAME
First game -
SECOND_GAME
Second game -
THIRD_GAME
Third game -
FOURTH_GAME
Fourth game -
FIFTH_GAME
Fifth game
-
-
Field Details
-
TERMINAL_MATCH_STATES
Terminal match states
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getScoutMatchStatusFromLiteralValue
public static ScoutMatchStatus getScoutMatchStatusFromLiteralValue(String value) throws UnknownEnumException Gets enum from string value- Parameters:
value- string representation of enum- Returns:
- ScoutMatchStatus enum
- Throws:
UnknownEnumException- if invalid value is passed
-
isValueEqual
Description copied from interface:EntityEnumDetermines whether the passedvalueis equal to value associated with the currentEntityEnum- Specified by:
isValueEqualin interfaceEntityEnum- Parameters:
value- a value to be compared to the value associated with the currentEntityEnum- Returns:
- value true if passed
valueis equal to the value associated with the currentEntityEnum. Otherwise false.
-
isTerminalState
Return whether the given status is terminal.- Parameters:
status- - the given match status- Returns:
- true when yes; false else
-
getValue
Description copied from interface:EntityEnumReturns value of concrete enum member.- Specified by:
getValuein interfaceEntityEnum- Returns:
- enum value
-