Package com.gophers.services.handlers
Class GradeConfigLoader
java.lang.Object
com.gophers.services.handlers.GradeConfigLoader
The GradeConfigLoader class is responsible for loading and providing grading
weightings
for various grading types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWeightings(String gradeType) Retrieves the weightings for a specific grade type.
-
Constructor Details
-
GradeConfigLoader
public GradeConfigLoader()Default constructor for GradeConfigLoader class. Initializes a new instance of the GradeConfigLoader.
-
-
Method Details
-
getWeightings
Retrieves the weightings for a specific grade type.- Parameters:
gradeType- the grade type for which to retrieve weightings- Returns:
- a map of test cases to their respective weightings, or an empty map if the grade type is not found
-