Uses of Class
edu.ucsb.cs156.happiercows.services.jobs.JobContext
-
Uses of JobContext in edu.ucsb.cs156.happiercows.jobs
Modifier and TypeMethodDescriptionvoid
InstructorReportJob.accept
(JobContext ctx) void
InstructorReportJobSingleCommons.accept
(JobContext ctx) void
MilkTheCowsJob.accept
(JobContext ctx) void
MilkTheCowsJobInd.accept
(JobContext ctx) void
RecordCommonStatsJob.accept
(JobContext ctx) void
SetCowHealthJob.accept
(JobContext ctx) void
TestJob.accept
(JobContext ctx) void
UpdateCowHealthJob.accept
(JobContext ctx) void
UpdateCowHealthJobInd.accept
(JobContext ctx) static void
UpdateCowHealthJob.calculateCowDeaths
(UserCommons userCommons, JobContext ctx) static void
MilkTheCowsJob.milkCows
(JobContext ctx, Commons commons, UserCommons userCommons, ProfitRepository profitRepository, UserCommonsRepository userCommonsRepository) This method performs the function of milking the cows for a single userCommons.static void
UpdateCowHealthJob.runUpdateJobInCommons
(Commons commons, CommonsPlus commonsPlus, CommonsPlusBuilderService commonsPlusBuilderService, CommonsRepository commonsRepository, UserCommonsRepository userCommonsRepository, JobContext ctx) -
Uses of JobContext in edu.ucsb.cs156.happiercows.services.jobs