| 1 | package edu.ucsb.cs156.happiercows.jobs; | |
| 2 | ||
| 3 | import edu.ucsb.cs156.happiercows.services.jobs.JobContext; | |
| 4 | import edu.ucsb.cs156.happiercows.services.jobs.JobContextConsumer; | |
| 5 | import lombok.Builder; | |
| 6 | ||
| 7 | @Builder | |
| 8 | public class InstructorReportJob implements JobContextConsumer { | |
| 9 | ||
| 10 |     @Override | |
| 11 |     public void accept(JobContext ctx) throws Exception { | |
| 12 | 
1
1. accept : removed call to edu/ucsb/cs156/happiercows/services/jobs/JobContext::log → KILLED | 
        ctx.log("Producing instructor report"); | 
| 13 | 
1
1. accept : removed call to edu/ucsb/cs156/happiercows/services/jobs/JobContext::log → KILLED | 
        ctx.log("This is where the code to producing instructor report will go."); | 
| 14 | 
1
1. accept : removed call to edu/ucsb/cs156/happiercows/services/jobs/JobContext::log → KILLED | 
        ctx.log("Instructor report has been produced!"); | 
| 15 |     } | |
| 16 | } | |
Mutations | ||
| 12 | 
 
 1.1  | 
|
| 13 | 
 
 1.1  | 
|
| 14 | 
 
 1.1  |