mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-16 07:10:48 +00:00
Merge branch 'bug4661' of ssh://trac@sapsailing.com/home/trac/git into bug4661
This commit is contained in:
commit
6583aaa3c0
1 file changed
+12
@@ -127,14 +127,26 @@ public interface ScoringScheme extends Serializable {
|
||||
*/
|
||||
int compareByLatestRegattaInMetaLeaderboard(Leaderboard leaderboard, Competitor o1, Competitor o2, TimePoint timePoint);
|
||||
|
||||
/**
|
||||
* Returning {@code true} makes the number of wins in a medal series the primary ranking criteria.
|
||||
* The number of wins that makes a competitor the overall winner must be returned by {@link #getTargetAmountOfMedalRaceWins()}.
|
||||
*/
|
||||
default boolean isMedalWinAmountCriteria() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returning {@code true} makes the carry forward score a secondary ranking criteria for competitors that have an
|
||||
* equal overall score.
|
||||
*/
|
||||
default boolean isCarryForwardInMedalsCriteria() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returning {@code true} makes the last medal race (having valid scores) a secondary ranking criteria for
|
||||
* competitors that have an equal overall score.
|
||||
*/
|
||||
default boolean isLastMedalRaceCriteria() {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user