Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.InstructorReportJob
- accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.InstructorReportJobSingleCommons
- accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJob
- accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJobInd
- accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.RecordCommonStatsJob
- accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.SetCowHealthJob
- accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.TestJob
- accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJob
- accept(JobContext) - Method in class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJobInd
- accept(JobContext) - Method in interface edu.ucsb.cs156.happiercows.services.jobs.JobContextConsumer
- addInterceptors(InterceptorRegistry) - Method in class edu.ucsb.cs156.happiercows.interceptors.RoleInterceptorConfig
- allCommonStats() - Method in class edu.ucsb.cs156.happiercows.controllers.CommonStatsController
- allCommonStatsForCommons(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonStatsController
- allJobs() - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- allJobsPaged(int, int) - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- allLinesByReportId(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.ReportsController
- allProfitsByCommonsId(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.ProfitsController
- allProfitsByCommonsId(Long, Long) - Method in class edu.ucsb.cs156.happiercows.controllers.ProfitsController
- allProfitsByCommonsIdWithPagination(Long, int, int) - Method in class edu.ucsb.cs156.happiercows.controllers.ProfitsController
- allReports() - Method in class edu.ucsb.cs156.happiercows.controllers.ReportsController
- allReportsByCommonsId(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.ReportsController
- Announcement - Class in edu.ucsb.cs156.happiercows.entities
- Announcement() - Constructor for class edu.ucsb.cs156.happiercows.entities.Announcement
- AnnouncementRepository - Interface in edu.ucsb.cs156.happiercows.repositories
- AnnouncementsController - Class in edu.ucsb.cs156.happiercows.controllers
- AnnouncementsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.AnnouncementsController
- ApiController - Class in edu.ucsb.cs156.happiercows.controllers
- ApiController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.ApiController
- AverageCowHealthService - Class in edu.ucsb.cs156.happiercows.services
- AverageCowHealthService() - Constructor for class edu.ucsb.cs156.happiercows.services.AverageCowHealthService
C
- calculateCowDeaths(UserCommons, JobContext) - Static method in class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJob
- calculateMilkingProfit(Commons, UserCommons) - Static method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJob
-
Calculate the profit for a user from milking their cows.
- calculateNewCowHealth(CommonsPlus, UserCommons, int) - Method in interface edu.ucsb.cs156.happiercows.strategies.CowHealthUpdateStrategy
- calculateNewCowHealthUsingStrategy(CowHealthUpdateStrategy, CommonsPlus, UserCommons, int) - Static method in class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJob
- ChatMessage - Class in edu.ucsb.cs156.happiercows.entities
- ChatMessage() - Constructor for class edu.ucsb.cs156.happiercows.entities.ChatMessage
- ChatMessageController - Class in edu.ucsb.cs156.happiercows.controllers
- ChatMessageController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.ChatMessageController
- ChatMessageRepository - Interface in edu.ucsb.cs156.happiercows.repositories
- Commons - Class in edu.ucsb.cs156.happiercows.entities
- Commons() - Constructor for class edu.ucsb.cs156.happiercows.entities.Commons
- CommonsController - Class in edu.ucsb.cs156.happiercows.controllers
- CommonsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.CommonsController
- CommonsPlus - Class in edu.ucsb.cs156.happiercows.entities
- CommonsPlus() - Constructor for class edu.ucsb.cs156.happiercows.entities.CommonsPlus
- CommonsPlusBuilderService - Class in edu.ucsb.cs156.happiercows.services
- CommonsPlusBuilderService() - Constructor for class edu.ucsb.cs156.happiercows.services.CommonsPlusBuilderService
- CommonsRepository - Interface in edu.ucsb.cs156.happiercows.repositories
- CommonStats - Class in edu.ucsb.cs156.happiercows.entities
- CommonStats() - Constructor for class edu.ucsb.cs156.happiercows.entities.CommonStats
- CommonStatsController - Class in edu.ucsb.cs156.happiercows.controllers
- CommonStatsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.CommonStatsController
- CommonStatsCSVHelper - Class in edu.ucsb.cs156.happiercows.helpers
- CommonStatsRepository - Interface in edu.ucsb.cs156.happiercows.repositories
- CommonStatsService - Class in edu.ucsb.cs156.happiercows.services
- CommonStatsService() - Constructor for class edu.ucsb.cs156.happiercows.services.CommonStatsService
- configure(HttpSecurity) - Method in class edu.ucsb.cs156.happiercows.config.SecurityConfig
- configure(WebSecurity) - Method in class edu.ucsb.cs156.happiercows.config.SecurityConfig
- Constant - Enum constant in enum class edu.ucsb.cs156.happiercows.strategies.CowHealthUpdateStrategies
- convertToCommonsPlus(Iterable<Commons>) - Method in class edu.ucsb.cs156.happiercows.services.CommonsPlusBuilderService
- CowDeath - Class in edu.ucsb.cs156.happiercows.entities
- CowDeath() - Constructor for class edu.ucsb.cs156.happiercows.entities.CowDeath
- CowDeathRepository - Interface in edu.ucsb.cs156.happiercows.repositories
- CowHealthUpdateStrategies - Enum Class in edu.ucsb.cs156.happiercows.strategies
-
The CowHealthUpdateStrategies enum provides a variety of strategies for updating cow health.
- CowHealthUpdateStrategy - Interface in edu.ucsb.cs156.happiercows.strategies
- create() - Method in class edu.ucsb.cs156.happiercows.jobs.InstructorReportJobFactory
- create() - Method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJobFactory
- create() - Method in class edu.ucsb.cs156.happiercows.jobs.RecordCommonStatsJobFactory
- create() - Method in class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJobFactory
- create() - Static method in class edu.ucsb.cs156.happiercows.models.HealthUpdateStrategyList
- create(long) - Method in class edu.ucsb.cs156.happiercows.jobs.InstructorReportJobSingleCommonsFactory
- create(Long) - Method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJobFactoryInd
- create(Long) - Method in class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJobFactoryInd
- create(Long, double) - Method in class edu.ucsb.cs156.happiercows.jobs.SetCowHealthJobFactory
- createAndSaveCommonStats(Long) - Method in class edu.ucsb.cs156.happiercows.services.CommonStatsService
- createAndSaveReportHeader(Long) - Method in class edu.ucsb.cs156.happiercows.services.ReportService
- createAndSaveReportLine(Report, UserCommons) - Method in class edu.ucsb.cs156.happiercows.services.ReportService
- createAnnouncement(Long, LocalDateTime, LocalDateTime, String) - Method in class edu.ucsb.cs156.happiercows.controllers.AnnouncementsController
- createChatMessage(Long, String) - Method in class edu.ucsb.cs156.happiercows.controllers.ChatMessageController
- createCommons(CreateCommonsParams) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
- CreateCommonsParams - Class in edu.ucsb.cs156.happiercows.models
- CreateCommonsParams() - Constructor for class edu.ucsb.cs156.happiercows.models.CreateCommonsParams
- createCommonStats(Long) - Method in class edu.ucsb.cs156.happiercows.services.CommonStatsService
- createReport(Long) - Method in class edu.ucsb.cs156.happiercows.services.ReportService
- csrf() - Method in class edu.ucsb.cs156.happiercows.controllers.FrontendController
- csrf(CsrfToken) - Method in class edu.ucsb.cs156.happiercows.controllers.CSRFController
- CSRFController - Class in edu.ucsb.cs156.happiercows.controllers
- CSRFController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.CSRFController
- CurrentUser - Class in edu.ucsb.cs156.happiercows.models
- CurrentUser() - Constructor for class edu.ucsb.cs156.happiercows.models.CurrentUser
- CurrentUserService - Class in edu.ucsb.cs156.happiercows.services
- CurrentUserService() - Constructor for class edu.ucsb.cs156.happiercows.services.CurrentUserService
- CurrentUserServiceImpl - Class in edu.ucsb.cs156.happiercows.services
- CurrentUserServiceImpl() - Constructor for class edu.ucsb.cs156.happiercows.services.CurrentUserServiceImpl
D
- DEFAULT_ABOVE_CAPACITY - Static variable in enum class edu.ucsb.cs156.happiercows.strategies.CowHealthUpdateStrategies
- DEFAULT_BELOW_CAPACITY - Static variable in enum class edu.ucsb.cs156.happiercows.strategies.CowHealthUpdateStrategies
- deleteAnnouncement(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.AnnouncementsController
- deleteCommons(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
- deleteUserFromCommon(Long, Long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
- developmentApplicationRunner() - Method in class edu.ucsb.cs156.happiercows.HappierCowsApplication
-
Hook that can be used to set up any services needed for development
E
- editAnnouncement(Long, Long, LocalDateTime, LocalDateTime, String) - Method in class edu.ucsb.cs156.happiercows.controllers.AnnouncementsController
- edu.ucsb.cs156.happiercows - package edu.ucsb.cs156.happiercows
- edu.ucsb.cs156.happiercows.advice - package edu.ucsb.cs156.happiercows.advice
- edu.ucsb.cs156.happiercows.config - package edu.ucsb.cs156.happiercows.config
- edu.ucsb.cs156.happiercows.controllers - package edu.ucsb.cs156.happiercows.controllers
- edu.ucsb.cs156.happiercows.entities - package edu.ucsb.cs156.happiercows.entities
- edu.ucsb.cs156.happiercows.entities.jobs - package edu.ucsb.cs156.happiercows.entities.jobs
- edu.ucsb.cs156.happiercows.errors - package edu.ucsb.cs156.happiercows.errors
- edu.ucsb.cs156.happiercows.helpers - package edu.ucsb.cs156.happiercows.helpers
- edu.ucsb.cs156.happiercows.interceptors - package edu.ucsb.cs156.happiercows.interceptors
- edu.ucsb.cs156.happiercows.jobs - package edu.ucsb.cs156.happiercows.jobs
- edu.ucsb.cs156.happiercows.models - package edu.ucsb.cs156.happiercows.models
- edu.ucsb.cs156.happiercows.repositories - package edu.ucsb.cs156.happiercows.repositories
- edu.ucsb.cs156.happiercows.repositories.jobs - package edu.ucsb.cs156.happiercows.repositories.jobs
- edu.ucsb.cs156.happiercows.services - package edu.ucsb.cs156.happiercows.services
- edu.ucsb.cs156.happiercows.services.jobs - package edu.ucsb.cs156.happiercows.services.jobs
- edu.ucsb.cs156.happiercows.services.wiremock - package edu.ucsb.cs156.happiercows.services.wiremock
- edu.ucsb.cs156.happiercows.strategies - package edu.ucsb.cs156.happiercows.strategies
- EntityNotFoundException - Exception in edu.ucsb.cs156.happiercows.errors
- EntityNotFoundException(Class<?>, Object) - Constructor for exception edu.ucsb.cs156.happiercows.errors.EntityNotFoundException
- EntityNotFoundException(Class<?>, String, Object, String, Object) - Constructor for exception edu.ucsb.cs156.happiercows.errors.EntityNotFoundException
F
- findAll(Pageable) - Method in interface edu.ucsb.cs156.happiercows.repositories.jobs.JobsRepository
- findAll(Sort) - Method in interface edu.ucsb.cs156.happiercows.repositories.CommonStatsRepository
- findAll(Sort) - Method in interface edu.ucsb.cs156.happiercows.repositories.ReportRepository
- findAllByCommonsId(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.CommonStatsRepository
- findAllByCommonsId(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.ReportRepository
- findAllByCommonsId(Long, Pageable) - Method in interface edu.ucsb.cs156.happiercows.repositories.ChatMessageRepository
- findAllByReportId(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.ReportLineRepository
- findAllByUserCommons(UserCommons) - Method in interface edu.ucsb.cs156.happiercows.repositories.ProfitRepository
- findByAnnouncementId(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.AnnouncementRepository
- findByCommonsId(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.UserCommonsRepository
- findByCommonsId(Long, Pageable) - Method in interface edu.ucsb.cs156.happiercows.repositories.AnnouncementRepository
- findByCommonsId(Long, Pageable) - Method in interface edu.ucsb.cs156.happiercows.repositories.ChatMessageRepository
- findByCommonsIdAndHidden(Long, Pageable) - Method in interface edu.ucsb.cs156.happiercows.repositories.ChatMessageRepository
- findByCommonsIdAndUserId(Long, Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.UserCommonsRepository
- findByEmail(String) - Method in interface edu.ucsb.cs156.happiercows.repositories.UserRepository
- findById(long) - Method in interface edu.ucsb.cs156.happiercows.repositories.ChatMessageRepository
- findByReportId(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.ReportsController
- flush_and_close_noPitest(ByteArrayOutputStream, CSVPrinter) - Static method in class edu.ucsb.cs156.happiercows.helpers.CommonStatsCSVHelper
-
This method is a hack to avoid a pitest issue; it isn't possible to exclude an individual method call from jacoco coverage, but we can exclude the entire method by name in the pom.xml
- flush_and_close_noPitest(ByteArrayOutputStream, CSVPrinter) - Static method in class edu.ucsb.cs156.happiercows.helpers.ReportCSVHelper
-
This method is a hack to avoid a jacoco issue; it isn't possible to exclude an individual method call from jacoco coverage, but we can exclude the entire method.
- formatDollars(double) - Static method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJob
- formatDollars(double) - Method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJobInd
- FrontendController - Class in edu.ucsb.cs156.happiercows.controllers
- FrontendController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.FrontendController
- FrontendProxyController - Class in edu.ucsb.cs156.happiercows.controllers
- FrontendProxyController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.FrontendProxyController
G
- gameInProgress() - Method in class edu.ucsb.cs156.happiercows.entities.Commons
- genericMessage(String) - Method in class edu.ucsb.cs156.happiercows.controllers.ApiController
- getAllChatMessages(Long, int, int) - Method in class edu.ucsb.cs156.happiercows.controllers.ChatMessageController
- getAllCSV() - Method in class edu.ucsb.cs156.happiercows.controllers.CommonStatsController
- getAnnouncementById(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.AnnouncementsController
- getAnnouncements(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.AnnouncementsController
- getAverageCowHealth(Long) - Method in class edu.ucsb.cs156.happiercows.services.AverageCowHealthService
- getChatMessages(Long, int, int) - Method in class edu.ucsb.cs156.happiercows.controllers.ChatMessageController
- getCommons() - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
- getCommonsById(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
- getCommonsId() - Method in class edu.ucsb.cs156.happiercows.entities.UserCommons
- getCommonsPlus() - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
- getCommonsPlusById(long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
- getCSV(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonStatsController
- getCurrentUser() - Method in class edu.ucsb.cs156.happiercows.controllers.ApiController
- getCurrentUser() - Method in class edu.ucsb.cs156.happiercows.controllers.UserInfoController
- getCurrentUser() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserService
- getCurrentUser() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserServiceImpl
- getDefaultCommons() - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
- getDescription() - Method in interface edu.ucsb.cs156.happiercows.strategies.CowHealthUpdateStrategy
- getDisplayName() - Method in interface edu.ucsb.cs156.happiercows.strategies.CowHealthUpdateStrategy
- getEffectiveCapacity() - Method in class edu.ucsb.cs156.happiercows.entities.CommonsPlus
- getGrantedAuthorities() - Method in class edu.ucsb.cs156.happiercows.services.GrantedAuthoritiesService
- getHiddenChatMessages(Long, int, int) - Method in class edu.ucsb.cs156.happiercows.controllers.ChatMessageController
- getId() - Method in class edu.ucsb.cs156.happiercows.entities.UserCommons
- getLinesCSV(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.ReportsController
- getNumCows(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.CommonsRepository
- getNumUsers(Long) - Method in interface edu.ucsb.cs156.happiercows.repositories.CommonsRepository
- getOAuth2AuthenticatedUser(SecurityContext, Authentication) - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserServiceImpl
- getRoles() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserService
- getRoles() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserServiceImpl
- getSystemInfo() - Method in class edu.ucsb.cs156.happiercows.controllers.SystemInfoController
- getSystemInfo() - Method in class edu.ucsb.cs156.happiercows.services.SystemInfoService
- getSystemInfo() - Method in class edu.ucsb.cs156.happiercows.services.SystemInfoServiceImpl
- getTotalNumCows(Long) - Method in class edu.ucsb.cs156.happiercows.services.AverageCowHealthService
- getUser() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserService
- getUser() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserServiceImpl
- getUserCommonsById(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
- getUserCommonsById(Long, Long) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
- getUserId() - Method in class edu.ucsb.cs156.happiercows.entities.UserCommons
- getUsersCommonsByCommonsId(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
- getWiremockServer() - Method in class edu.ucsb.cs156.happiercows.services.wiremock.WiremockService
-
This method returns the wiremockServer
- getWiremockServer() - Method in class edu.ucsb.cs156.happiercows.services.wiremock.WiremockServiceDummy
-
Dummy call for getWiremockServer()
- getWiremockServer() - Method in class edu.ucsb.cs156.happiercows.services.wiremock.WiremockServiceImpl
-
This method returns the wiremockServer
- githubUrl(String, String) - Static method in class edu.ucsb.cs156.happiercows.services.SystemInfoServiceImpl
- GrantedAuthoritiesService - Class in edu.ucsb.cs156.happiercows.services
- GrantedAuthoritiesService() - Constructor for class edu.ucsb.cs156.happiercows.services.GrantedAuthoritiesService
H
- handleBadRequest(Throwable) - Method in class edu.ucsb.cs156.happiercows.controllers.ApiController
- handleGenericException(Throwable) - Method in class edu.ucsb.cs156.happiercows.controllers.ApiController
- handleIllegalArgumentException() - Method in class edu.ucsb.cs156.happiercows.advice.HappierCowsControllerAdvice
- HappierCowsApplication - Class in edu.ucsb.cs156.happiercows
- HappierCowsApplication() - Constructor for class edu.ucsb.cs156.happiercows.HappierCowsApplication
- HappierCowsControllerAdvice - Class in edu.ucsb.cs156.happiercows.advice
-
This class handles exceptions thrown by the controllers.
- HappierCowsControllerAdvice() - Constructor for class edu.ucsb.cs156.happiercows.advice.HappierCowsControllerAdvice
- HealthUpdateStrategyInfo - Class in edu.ucsb.cs156.happiercows.models
- HealthUpdateStrategyInfo() - Constructor for class edu.ucsb.cs156.happiercows.models.HealthUpdateStrategyInfo
- HealthUpdateStrategyList - Class in edu.ucsb.cs156.happiercows.models
- HealthUpdateStrategyList() - Constructor for class edu.ucsb.cs156.happiercows.models.HealthUpdateStrategyList
- hideChatMessage(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.ChatMessageController
I
- index() - Method in class edu.ucsb.cs156.happiercows.controllers.FrontendController
- init() - Method in class edu.ucsb.cs156.happiercows.services.wiremock.WiremockService
-
This method initializes the WireMockServer
- init() - Method in class edu.ucsb.cs156.happiercows.services.wiremock.WiremockServiceDummy
-
Dummy call to init
- init() - Method in class edu.ucsb.cs156.happiercows.services.wiremock.WiremockServiceImpl
-
This method initializes the WireMockServer
- instructorReport() - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- InstructorReportJob - Class in edu.ucsb.cs156.happiercows.jobs
- InstructorReportJob() - Constructor for class edu.ucsb.cs156.happiercows.jobs.InstructorReportJob
- InstructorReportJobFactory - Class in edu.ucsb.cs156.happiercows.jobs
- InstructorReportJobFactory() - Constructor for class edu.ucsb.cs156.happiercows.jobs.InstructorReportJobFactory
- InstructorReportJobSingleCommons - Class in edu.ucsb.cs156.happiercows.jobs
- InstructorReportJobSingleCommons() - Constructor for class edu.ucsb.cs156.happiercows.jobs.InstructorReportJobSingleCommons
- InstructorReportJobSingleCommonsFactory - Class in edu.ucsb.cs156.happiercows.jobs
- InstructorReportJobSingleCommonsFactory() - Constructor for class edu.ucsb.cs156.happiercows.jobs.InstructorReportJobSingleCommonsFactory
- instructorReportSingleCommons(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- isAdmin(String) - Method in class edu.ucsb.cs156.happiercows.config.SecurityConfig
- isLoggedIn() - Method in class edu.ucsb.cs156.happiercows.services.CurrentUserService
J
- Job - Class in edu.ucsb.cs156.happiercows.entities.jobs
- Job() - Constructor for class edu.ucsb.cs156.happiercows.entities.jobs.Job
- JobContext - Class in edu.ucsb.cs156.happiercows.services.jobs
- JobContext() - Constructor for class edu.ucsb.cs156.happiercows.services.jobs.JobContext
- JobContextConsumer - Interface in edu.ucsb.cs156.happiercows.services.jobs
- JobsController - Class in edu.ucsb.cs156.happiercows.controllers
- JobsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.JobsController
- JobService - Class in edu.ucsb.cs156.happiercows.services.jobs
- JobService() - Constructor for class edu.ucsb.cs156.happiercows.services.jobs.JobService
- JobsRepository - Interface in edu.ucsb.cs156.happiercows.repositories.jobs
- joinCommon(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
L
- launchTestJob() - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- launchTestJob(Boolean, Integer) - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- launchTestJob(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- Linear - Enum constant in enum class edu.ucsb.cs156.happiercows.strategies.CowHealthUpdateStrategies
- listCowHealthUpdateStrategies() - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
- log(String) - Method in class edu.ucsb.cs156.happiercows.services.jobs.JobContext
M
- main(String[]) - Static method in class edu.ucsb.cs156.happiercows.HappierCowsApplication
- milkCows(JobContext, Commons, UserCommons, ProfitRepository, UserCommonsRepository) - Static method in class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJob
-
This method performs the function of milking the cows for a single userCommons.
- MilkTheCowsJob - Class in edu.ucsb.cs156.happiercows.jobs
- MilkTheCowsJob() - Constructor for class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJob
- MilkTheCowsJobFactory - Class in edu.ucsb.cs156.happiercows.jobs
- MilkTheCowsJobFactory() - Constructor for class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJobFactory
- MilkTheCowsJobFactoryInd - Class in edu.ucsb.cs156.happiercows.jobs
- MilkTheCowsJobFactoryInd() - Constructor for class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJobFactoryInd
- MilkTheCowsJobInd - Class in edu.ucsb.cs156.happiercows.jobs
- MilkTheCowsJobInd() - Constructor for class edu.ucsb.cs156.happiercows.jobs.MilkTheCowsJobInd
N
- NoCowsException - Exception in edu.ucsb.cs156.happiercows.errors
- NoCowsException(String) - Constructor for exception edu.ucsb.cs156.happiercows.errors.NoCowsException
- Noop - Enum constant in enum class edu.ucsb.cs156.happiercows.strategies.CowHealthUpdateStrategies
- NotEnoughMoneyException - Exception in edu.ucsb.cs156.happiercows.errors
- NotEnoughMoneyException(String) - Constructor for exception edu.ucsb.cs156.happiercows.errors.NotEnoughMoneyException
P
- preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class edu.ucsb.cs156.happiercows.interceptors.RoleInterceptor
- Profit - Class in edu.ucsb.cs156.happiercows.entities
- Profit() - Constructor for class edu.ucsb.cs156.happiercows.entities.Profit
- ProfitRepository - Interface in edu.ucsb.cs156.happiercows.repositories
- ProfitsController - Class in edu.ucsb.cs156.happiercows.controllers
- ProfitsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.ProfitsController
- proxy(ProxyExchange<String>) - Method in class edu.ucsb.cs156.happiercows.controllers.FrontendProxyController
- putUserCommonsByIdBuy(Long, int) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
- putUserCommonsByIdSell(Long, int) - Method in class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
R
- recordCommonStats() - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- RecordCommonStatsJob - Class in edu.ucsb.cs156.happiercows.jobs
-
This job computes the stats for all games in progress and creates one new row in the CommonsStats table for each commons.
- RecordCommonStatsJob() - Constructor for class edu.ucsb.cs156.happiercows.jobs.RecordCommonStatsJob
- RecordCommonStatsJobFactory - Class in edu.ucsb.cs156.happiercows.jobs
- RecordCommonStatsJobFactory() - Constructor for class edu.ucsb.cs156.happiercows.jobs.RecordCommonStatsJobFactory
- Report - Class in edu.ucsb.cs156.happiercows.entities
- Report() - Constructor for class edu.ucsb.cs156.happiercows.entities.Report
- ReportCSVHelper - Class in edu.ucsb.cs156.happiercows.helpers
- ReportLine - Class in edu.ucsb.cs156.happiercows.entities
- ReportLine() - Constructor for class edu.ucsb.cs156.happiercows.entities.ReportLine
- ReportLineRepository - Interface in edu.ucsb.cs156.happiercows.repositories
- ReportRepository - Interface in edu.ucsb.cs156.happiercows.repositories
- ReportsController - Class in edu.ucsb.cs156.happiercows.controllers
- ReportsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.ReportsController
- ReportService - Class in edu.ucsb.cs156.happiercows.services
- ReportService() - Constructor for class edu.ucsb.cs156.happiercows.services.ReportService
- restoreUser(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.UsersController
- RoleInterceptor - Class in edu.ucsb.cs156.happiercows.interceptors
- RoleInterceptor() - Constructor for class edu.ucsb.cs156.happiercows.interceptors.RoleInterceptor
- RoleInterceptorConfig - Class in edu.ucsb.cs156.happiercows.interceptors
- RoleInterceptorConfig() - Constructor for class edu.ucsb.cs156.happiercows.interceptors.RoleInterceptorConfig
- runAsJob(JobContextConsumer) - Method in class edu.ucsb.cs156.happiercows.services.jobs.JobService
- runJobAsync(Job, JobContextConsumer) - Method in class edu.ucsb.cs156.happiercows.services.jobs.JobService
- runMilkTheCowsJobBasedOnCron() - Method in class edu.ucsb.cs156.happiercows.jobs.ScheduledJobs
- runRecordCommonStatsJobBasedOnCron() - Method in class edu.ucsb.cs156.happiercows.jobs.ScheduledJobs
- runUpdateCowHealthJobBasedOnCron() - Method in class edu.ucsb.cs156.happiercows.jobs.ScheduledJobs
- runUpdateJobInCommons(Commons, CommonsPlus, CommonsPlusBuilderService, CommonsRepository, UserCommonsRepository, JobContext) - Static method in class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJob
S
- ScheduledJobs - Class in edu.ucsb.cs156.happiercows.jobs
-
This class contains methods that are scheduled to run at certain times to launch particular jobs.
- ScheduledJobs() - Constructor for class edu.ucsb.cs156.happiercows.jobs.ScheduledJobs
- SecurityConfig - Class in edu.ucsb.cs156.happiercows.config
-
This class is used to configure Spring Security.
- SecurityConfig() - Constructor for class edu.ucsb.cs156.happiercows.config.SecurityConfig
- setCowHealth(Long, double) - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- SetCowHealthJob - Class in edu.ucsb.cs156.happiercows.jobs
- SetCowHealthJob() - Constructor for class edu.ucsb.cs156.happiercows.jobs.SetCowHealthJob
- SetCowHealthJobFactory - Class in edu.ucsb.cs156.happiercows.jobs
- SetCowHealthJobFactory() - Constructor for class edu.ucsb.cs156.happiercows.jobs.SetCowHealthJobFactory
- setId(UserCommonsKey) - Method in class edu.ucsb.cs156.happiercows.entities.UserCommons
- setupOauthMocks(Stubbing, boolean) - Static method in class edu.ucsb.cs156.happiercows.services.wiremock.WiremockServiceImpl
-
This method sets up the necessary mocks for authentication
- suspendUser(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.UsersController
- SystemInfo - Class in edu.ucsb.cs156.happiercows.models
- SystemInfo() - Constructor for class edu.ucsb.cs156.happiercows.models.SystemInfo
- SystemInfoController - Class in edu.ucsb.cs156.happiercows.controllers
- SystemInfoController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.SystemInfoController
- SystemInfoService - Class in edu.ucsb.cs156.happiercows.services
- SystemInfoService() - Constructor for class edu.ucsb.cs156.happiercows.services.SystemInfoService
- SystemInfoServiceImpl - Class in edu.ucsb.cs156.happiercows.services
- SystemInfoServiceImpl() - Constructor for class edu.ucsb.cs156.happiercows.services.SystemInfoServiceImpl
T
- taskExecutor(ThreadPoolTaskExecutor) - Method in class edu.ucsb.cs156.happiercows.HappierCowsApplication
- TestJob - Class in edu.ucsb.cs156.happiercows.jobs
- TestJob() - Constructor for class edu.ucsb.cs156.happiercows.jobs.TestJob
- threadPoolTaskExecutor() - Method in class edu.ucsb.cs156.happiercows.HappierCowsApplication
- toCommonsPlus(Commons) - Method in class edu.ucsb.cs156.happiercows.services.CommonsPlusBuilderService
- toCSV(Iterable<CommonStats>) - Static method in class edu.ucsb.cs156.happiercows.helpers.CommonStatsCSVHelper
- toCSV(Iterable<ReportLine>) - Static method in class edu.ucsb.cs156.happiercows.helpers.ReportCSVHelper
- toString() - Method in class edu.ucsb.cs156.happiercows.entities.User
U
- updateCommons(long, CreateCommonsParams) - Method in class edu.ucsb.cs156.happiercows.controllers.CommonsController
- updateCowHealth() - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- updateCowHealth(Long) - Method in class edu.ucsb.cs156.happiercows.controllers.JobsController
- UpdateCowHealthJob - Class in edu.ucsb.cs156.happiercows.jobs
- UpdateCowHealthJob() - Constructor for class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJob
- UpdateCowHealthJobFactory - Class in edu.ucsb.cs156.happiercows.jobs
- UpdateCowHealthJobFactory() - Constructor for class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJobFactory
- UpdateCowHealthJobFactoryInd - Class in edu.ucsb.cs156.happiercows.jobs
- UpdateCowHealthJobFactoryInd() - Constructor for class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJobFactoryInd
- UpdateCowHealthJobInd - Class in edu.ucsb.cs156.happiercows.jobs
- UpdateCowHealthJobInd() - Constructor for class edu.ucsb.cs156.happiercows.jobs.UpdateCowHealthJobInd
- updateLastOnline() - Method in class edu.ucsb.cs156.happiercows.controllers.UserInfoController
- User - Class in edu.ucsb.cs156.happiercows.entities
- User() - Constructor for class edu.ucsb.cs156.happiercows.entities.User
- UserCommons - Class in edu.ucsb.cs156.happiercows.entities
- UserCommons() - Constructor for class edu.ucsb.cs156.happiercows.entities.UserCommons
- UserCommonsController - Class in edu.ucsb.cs156.happiercows.controllers
- UserCommonsController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.UserCommonsController
- UserCommonsKey - Class in edu.ucsb.cs156.happiercows.entities
- UserCommonsKey() - Constructor for class edu.ucsb.cs156.happiercows.entities.UserCommonsKey
- UserCommonsRepository - Interface in edu.ucsb.cs156.happiercows.repositories
- UserInfoController - Class in edu.ucsb.cs156.happiercows.controllers
- UserInfoController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.UserInfoController
- UserRepository - Interface in edu.ucsb.cs156.happiercows.repositories
- users() - Method in class edu.ucsb.cs156.happiercows.controllers.UsersController
- UsersController - Class in edu.ucsb.cs156.happiercows.controllers
- UsersController() - Constructor for class edu.ucsb.cs156.happiercows.controllers.UsersController
- utcDateTimeProvider() - Method in class edu.ucsb.cs156.happiercows.HappierCowsApplication
V
- valueOf(String) - Static method in enum class edu.ucsb.cs156.happiercows.strategies.CowHealthUpdateStrategies
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class edu.ucsb.cs156.happiercows.strategies.CowHealthUpdateStrategies
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wiremockApplicationRunner() - Method in class edu.ucsb.cs156.happiercows.HappierCowsApplication
-
When using the wiremock profile, this method will call the code needed to set up the wiremock services
- WiremockService - Class in edu.ucsb.cs156.happiercows.services.wiremock
-
This is a service for mocking authentication using wiremock This class relies on property values.
- WiremockService() - Constructor for class edu.ucsb.cs156.happiercows.services.wiremock.WiremockService
- WiremockServiceDummy - Class in edu.ucsb.cs156.happiercows.services.wiremock
-
This is a dummy service for profiles besides wiremock where we do not want the mocked authentication, but instead real oauth authentication
- WiremockServiceDummy() - Constructor for class edu.ucsb.cs156.happiercows.services.wiremock.WiremockServiceDummy
- WiremockServiceImpl - Class in edu.ucsb.cs156.happiercows.services.wiremock
-
This is a service for mocking authentication using wiremock This class relies on property values.
- WiremockServiceImpl() - Constructor for class edu.ucsb.cs156.happiercows.services.wiremock.WiremockServiceImpl
All Classes and Interfaces|All Packages|Serialized Form