Package edu.ucsb.cs156.courses.jobs
Class UploadGradeDataJob
java.lang.Object
edu.ucsb.cs156.courses.jobs.UploadGradeDataJob
- All Implemented Interfaces:
JobContextConsumer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(JobContext ctx) static List<GradeHistory>
upsertAll
(GradeHistoryRepository gradeHistoryRepository, List<GradeHistory> gradeHistories)
-
Constructor Details
-
UploadGradeDataJob
public UploadGradeDataJob()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceJobContextConsumer
- Throws:
Exception
-
upsertAll
public static List<GradeHistory> upsertAll(GradeHistoryRepository gradeHistoryRepository, List<GradeHistory> gradeHistories)
-