Skip to content

Commit

Permalink
add forgotten method
Browse files Browse the repository at this point in the history
  • Loading branch information
Feuermagier committed Jan 12, 2025
1 parent 7d349cc commit 3381ab0
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ public Builder conditionalOverride(AbstractProblemType problemType, String key,
return this;
}

/**
* Sets all conditional overrides, discarding all previously set conditional overrides.
* @param conditionalOverrides
* @return
*/
public Builder setConditionalOverrides(Map<AbstractProblemType, List<String>> conditionalOverrides) {
this.conditionalOverrides = new HashMap<>(conditionalOverrides);
return this;
}

public Map<AbstractProblemType, List<String>> getConditionalOverrides() {
return this.conditionalOverrides;
}
Expand Down

0 comments on commit 3381ab0

Please sign in to comment.