| 1 | package edu.ucsb.cs.scaffold.jobs; | |
| 2 | ||
| 3 | import edu.ucsb.cs.scaffold.services.UpdateUserService; | |
| 4 | import edu.ucsb.cs156.jobs.services.JobContext; | |
| 5 | import edu.ucsb.cs156.jobs.services.JobContextConsumer; | |
| 6 | import lombok.Builder; | |
| 7 | ||
| 8 | @Builder | |
| 9 | public class UpdateAllJob implements JobContextConsumer { | |
| 10 | ||
| 11 | private final UpdateUserService updateUserService; | |
| 12 | ||
| 13 | @Override | |
| 14 | public void accept(JobContext ctx) throws Exception { | |
| 15 |
1
1. accept : removed call to edu/ucsb/cs156/jobs/services/JobContext::log → KILLED |
ctx.log("Processing..."); |
| 16 |
1
1. accept : removed call to edu/ucsb/cs/scaffold/services/UpdateUserService::attachRosterStudentsAllUsers → KILLED |
updateUserService.attachRosterStudentsAllUsers(); |
| 17 |
1
1. accept : removed call to edu/ucsb/cs156/jobs/services/JobContext::log → KILLED |
ctx.log("Done"); |
| 18 | } | |
| 19 | } | |
Mutations | ||
| 15 |
1.1 |
|
| 16 |
1.1 |
|
| 17 |
1.1 |