| 1 | package edu.ucsb.cs156.frontiers.jobs; | |
| 2 | ||
| 3 | import edu.ucsb.cs156.frontiers.services.UpdateUserService; | |
| 4 | import edu.ucsb.cs156.frontiers.services.jobs.JobContext; | |
| 5 | import edu.ucsb.cs156.frontiers.services.jobs.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 | ctx.log("Processing..."); | |
| 16 |
1
1. accept : removed call to edu/ucsb/cs156/frontiers/services/UpdateUserService::attachRosterStudentsAllUsers → KILLED |
updateUserService.attachRosterStudentsAllUsers(); |
| 17 | ctx.log("Done"); | |
| 18 | } | |
| 19 | } | |
Mutations | ||
| 16 |
1.1 |