mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-21 21:25:38 +00:00
merge master into bug 5147
This commit is contained in:
+7
-1
@@ -7,15 +7,17 @@ public class SeriesParameters {
|
||||
private boolean startswithZeroScore = false;
|
||||
private int[] discardingThresholds = null;
|
||||
private Integer maximumNumberOfDiscards = null;
|
||||
private boolean oneAlwaysStaysOne;
|
||||
|
||||
public SeriesParameters(boolean firstColumnIsNonDiscardableCarryForward, boolean hasSplitFleetContiguousScoring,
|
||||
boolean hasCrossFleetMergedRanking, boolean startswithZeroScore, int[] discardingThresholds, Integer maximumNumberOfDiscards) {
|
||||
boolean hasCrossFleetMergedRanking, boolean startswithZeroScore, int[] discardingThresholds, Integer maximumNumberOfDiscards, boolean oneAlwaysStaysOne) {
|
||||
this.firstColumnIsNonDiscardableCarryForward = firstColumnIsNonDiscardableCarryForward;
|
||||
this.hasSplitFleetContiguousScoring = hasSplitFleetContiguousScoring;
|
||||
this.hasCrossFleetMergedRanking = hasCrossFleetMergedRanking;
|
||||
this.startswithZeroScore = startswithZeroScore;
|
||||
this.discardingThresholds = discardingThresholds;
|
||||
this.maximumNumberOfDiscards = maximumNumberOfDiscards;
|
||||
this.oneAlwaysStaysOne = oneAlwaysStaysOne;
|
||||
}
|
||||
|
||||
public boolean isFirstColumnIsNonDiscardableCarryForward() {
|
||||
@@ -61,4 +63,8 @@ public class SeriesParameters {
|
||||
public Integer getMaximumNumberOfDiscards() {
|
||||
return maximumNumberOfDiscards;
|
||||
}
|
||||
|
||||
public boolean isOneAlwaysStaysOne() {
|
||||
return oneAlwaysStaysOne;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user