Uses of Class
edu.ucsb.cs156.happiercows.entities.Commons
Package
Description
-
Uses of Commons in edu.ucsb.cs156.happiercows.controllers
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Commons>
CommonsController.getDefaultCommons()
-
Uses of Commons in edu.ucsb.cs156.happiercows.jobs
Modifier and TypeMethodDescriptionstatic double
MilkTheCowsJob.calculateMilkingProfit
(Commons commons, UserCommons userCommons) Calculate the profit for a user from milking their cows.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 Commons in edu.ucsb.cs156.happiercows.services
Modifier and TypeMethodDescriptionCommonsPlusBuilderService.convertToCommonsPlus
(Iterable<Commons> iteOfCommons)