Class JobsController
java.lang.Object
edu.ucsb.cs156.courses.controllers.ApiController
edu.ucsb.cs156.courses.controllers.JobsController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallJobs()
launchTestJob
(Boolean fail, Integer sleepMs) launchUpdateCourseDataJob
(String quarterYYYYQ, String subjectArea) launchUpdateCourseDataRangeOfQuartersJob
(String start_quarterYYYYQ, String end_quarterYYYYQ) launchUpdateCourseDataRangeOfQuartersSingleSubjectJob
(String subjectArea, String start_quarterYYYYQ, String end_quarterYYYYQ) launchUpdateCourseDataWithQuarterJob
(String quarterYYYYQ) Methods inherited from class edu.ucsb.cs156.courses.controllers.ApiController
genericMessage, getCurrentUser, handleGenericException, handleIllegalArgumentException
-
Constructor Details
-
JobsController
public JobsController()
-
-
Method Details
-
allJobs
-
launchTestJob
-
launchUpdateCourseDataJob
-
launchUpdateCourseDataWithQuarterJob
-
launchUpdateCourseDataRangeOfQuartersJob
-
launchUpdateCourseDataRangeOfQuartersSingleSubjectJob
-
launchUploadGradeData
@PreAuthorize("hasRole(\'ROLE_ADMIN\')") @PostMapping("/launch/uploadGradeData") public Job launchUploadGradeData()
-