Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AboutServlet - Class in me.nickhanson.codeforge.web
-
Simple servlet to render the current authenticated user details.
- AboutServlet() - Constructor for class me.nickhanson.codeforge.web.AboutServlet
- ACCEPTABLE - Enum constant in enum class me.nickhanson.codeforge.entity.Outcome
- AnswerEvaluation - Class in me.nickhanson.codeforge.evaluator
-
Represents the evaluation result of a submitted answer.
- AnswerEvaluation(Outcome, String, String, String) - Constructor for class me.nickhanson.codeforge.evaluator.AnswerEvaluation
-
Constructs an AnswerEvaluation with the specified details.
- AnswerEvaluator - Interface in me.nickhanson.codeforge.evaluator
-
Interface for evaluating submitted answers against challenges.
- AppBootstrap - Class in me.nickhanson.codeforge.web
-
Application bootstrap listener to initialize services and seed data.
- AppBootstrap() - Constructor for class me.nickhanson.codeforge.web.AppBootstrap
- Auth - Class in me.nickhanson.codeforge.controller
-
Servlet handling the OAuth2 authentication flow with AWS Cognito.
- Auth() - Constructor for class me.nickhanson.codeforge.controller.Auth
- AuthenticatedUser - Class in me.nickhanson.codeforge.entity
-
Represents an authenticated user in the system.
- AuthenticatedUser() - Constructor for class me.nickhanson.codeforge.entity.AuthenticatedUser
- AuthGuardFilter - Class in me.nickhanson.codeforge.web
-
AuthGuardFilter is a servlet filter that enforces authentication for specific routes.
- AuthGuardFilter() - Constructor for class me.nickhanson.codeforge.web.AuthGuardFilter
B
- basic(String) - Static method in class me.nickhanson.codeforge.evaluator.Normalizer
-
Performs basic normalization on the input string: - Trims leading and trailing whitespace - Converts to lowercase - Collapses multiple whitespace characters into a single space
- BasicEvaluatorService - Class in me.nickhanson.codeforge.evaluator
-
Basic implementation of the AnswerEvaluator interface.
- BasicEvaluatorService() - Constructor for class me.nickhanson.codeforge.evaluator.BasicEvaluatorService
- bulkReschedule(List<Long>, Instant) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
Bulk reschedule DrillItems by setting their nextDueAt to the specified time.
C
- Challenge - Class in me.nickhanson.codeforge.entity
-
Entity representing a coding challenge.
- Challenge(String, Difficulty, String, String) - Constructor for class me.nickhanson.codeforge.entity.Challenge
- ChallengeDao - Class in me.nickhanson.codeforge.persistence
-
Data Access Object (DAO) for the Challenge entity.
- ChallengeDao() - Constructor for class me.nickhanson.codeforge.persistence.ChallengeDao
- ChallengeForm - Class in me.nickhanson.codeforge.web
-
DTO (Data Transfer Object) for creating or updating a Challenge entity.
- ChallengeForm() - Constructor for class me.nickhanson.codeforge.web.ChallengeForm
- ChallengeRunService - Class in me.nickhanson.codeforge.service
-
Service class responsible for running and evaluating code submissions against coding challenges using predefined heuristics.
- ChallengeRunService() - Constructor for class me.nickhanson.codeforge.service.ChallengeRunService
- ChallengeService - Class in me.nickhanson.codeforge.service
-
Service layer for managing Challenge entities.
- ChallengeService() - Constructor for class me.nickhanson.codeforge.service.ChallengeService
- ChallengeService(ChallengeDao) - Constructor for class me.nickhanson.codeforge.service.ChallengeService
- ChallengesServlet - Class in me.nickhanson.codeforge.web
-
Servlet for handling CRUD operations on Challenge entities.
- ChallengesServlet() - Constructor for class me.nickhanson.codeforge.web.ChallengesServlet
- CognitoJWTParser - Class in me.nickhanson.codeforge.auth
-
Utility class for all operations on JWT.
- CognitoJWTParser() - Constructor for class me.nickhanson.codeforge.auth.CognitoJWTParser
- CognitoTokenHeader - Class in me.nickhanson.codeforge.auth
- CognitoTokenHeader() - Constructor for class me.nickhanson.codeforge.auth.CognitoTokenHeader
- collapseWhitespace(String) - Static method in class me.nickhanson.codeforge.evaluator.Normalizer
-
Collapses multiple consecutive whitespace characters into a single space.
- contextInitialized(ServletContextEvent) - Method in class me.nickhanson.codeforge.controller.StartupServlet
-
Loads Cognito properties and sets them as a servlet context attribute.
- contextInitialized(ServletContextEvent) - Method in class me.nickhanson.codeforge.web.AppBootstrap
-
Initialize the servlet context by creating service singletons and seeding data.
- CORRECT - Enum constant in enum class me.nickhanson.codeforge.entity.Outcome
- countDue(Instant) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
Count of DrillItems that are due at or before the specified time.
- countDue(Instant, String) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
Count of DrillItems that are due at or before the specified time for a specific user.
- create(ChallengeForm) - Method in class me.nickhanson.codeforge.service.ChallengeService
-
Creates a new challenge from the provided form data.
D
- delete(Long) - Method in class me.nickhanson.codeforge.service.ChallengeService
-
Deletes a challenge by its ID.
- delete(Challenge) - Method in class me.nickhanson.codeforge.persistence.ChallengeDao
- delete(DrillItem) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
- delete(Submission) - Method in class me.nickhanson.codeforge.persistence.SubmissionDao
- delete(T) - Method in class me.nickhanson.codeforge.persistence.GenericDao
-
Delete the given entity.
- Difficulty - Enum Class in me.nickhanson.codeforge.entity
-
Enumeration representing the difficulty levels of coding challenges.
- doFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class me.nickhanson.codeforge.web.AuthGuardFilter
-
Filters incoming HTTP requests to enforce authentication for protected routes.
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class me.nickhanson.codeforge.web.Utf8EncodingFilter
-
Sets the character encoding for the request and response to UTF-8.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.controller.Auth
-
Gets the auth code from the request and exchanges it for a token containing user info.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.controller.LogIn
-
Route to the aws-hosted cognito login page.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.controller.LogOut
-
Handles logout by invalidating the local session and redirecting to Cognito logout.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.AboutServlet
-
Handles GET requests to display the current authenticated user details.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.ChallengesServlet
-
Handles GET requests for listing, viewing, and editing challenges.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.DrillServlet
-
Handles GET requests for the drill queue and individual challenges.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.ErrorServlet
-
Handles GET requests by delegating to the common error handling method.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.HealthServlet
-
Handles health-check requests by returning an immediate
200 OKresponse with a plain-textOKbody. - doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.HomeServlet
-
Handles GET requests to the home page.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.MeServlet
-
Handles GET requests to display the current authenticated user details.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.PracticeServlet
-
Handles GET requests for displaying practice challenges.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.ChallengesServlet
-
Handles POST requests for creating, updating, and deleting challenges.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.DrillServlet
-
Handles POST requests for submitting challenge solutions and adding challenges to the drill queue.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.ErrorServlet
-
Handles POST requests by delegating to the common error handling method.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class me.nickhanson.codeforge.web.PracticeServlet
-
Handles POST requests for submitting practice challenge solutions.
- DrillItem - Class in me.nickhanson.codeforge.entity
-
Represents a DrillItem entity, which is associated with a Challenge and tracks the user's progress in a drill.
- DrillItem(Challenge) - Constructor for class me.nickhanson.codeforge.entity.DrillItem
-
Constructs a new DrillItem associated with the specified Challenge.
- DrillItemDao - Class in me.nickhanson.codeforge.persistence
-
DAO for DrillItem entity.
- DrillItemDao() - Constructor for class me.nickhanson.codeforge.persistence.DrillItemDao
- DrillQueueRow - Class in me.nickhanson.codeforge.web
-
Lightweight view model for rendering the drill queue without triggering LAZY loads in JSP.
- DrillQueueRow(Long, String, Difficulty, Instant) - Constructor for class me.nickhanson.codeforge.web.DrillQueueRow
-
Constructs a new DrillQueueRow with the specified details.
- DrillService - Class in me.nickhanson.codeforge.service
-
Service for managing drill items and recording outcomes.
- DrillService() - Constructor for class me.nickhanson.codeforge.service.DrillService
- DrillService(DrillItemDao, SubmissionDao, ChallengeDao) - Constructor for class me.nickhanson.codeforge.service.DrillService
- DrillServlet - Class in me.nickhanson.codeforge.web
-
Servlet handling drill-related operations, including displaying the drill queue, serving challenges for drilling, and processing challenge submissions.
- DrillServlet() - Constructor for class me.nickhanson.codeforge.web.DrillServlet
- dueNow(Instant) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
List all DrillItems that are due at or before the specified time.
- dueNow(Instant, String) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
List all DrillItems that are due at or before the specified time for a specific user.
- dueQueue(Instant, int) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
List of due DrillItems up to the specified limit, ordered by nextDueAt.
- dueQueue(Instant, int, String) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
User-scoped due queue up to the specified limit, ordered by nextDueAt.
E
- EASY - Enum constant in enum class me.nickhanson.codeforge.entity.Difficulty
- ensureDrillItem(Long, String) - Method in class me.nickhanson.codeforge.service.DrillService
-
Ensures that a DrillItem exists for the given challenge and user, creating one if necessary.
- ensureEnrollmentForUser(List<Challenge>, String) - Method in class me.nickhanson.codeforge.service.DrillService
-
Ensures that DrillItems exist for a list of challenges for the specified user.
- EnvConfig - Class in me.nickhanson.codeforge.config
-
Utility class for fetching environment-specific configuration properties.
- ErrorServlet - Class in me.nickhanson.codeforge.web
-
Servlet to handle errors and display appropriate error pages.
- ErrorServlet() - Constructor for class me.nickhanson.codeforge.web.ErrorServlet
- evaluate(Challenge, String) - Method in interface me.nickhanson.codeforge.evaluator.AnswerEvaluator
-
Evaluates a submitted answer for a given challenge.
- evaluate(Challenge, String) - Method in class me.nickhanson.codeforge.evaluator.BasicEvaluatorService
-
Evaluates a submitted answer for a given challenge.
- existsTitleForOtherIgnoreCase(String, Long) - Method in class me.nickhanson.codeforge.persistence.ChallengeDao
-
Checks if a challenge with the given title exists, ignoring case, excluding a specific challenge by its ID.
- existsTitleIgnoreCase(String) - Method in class me.nickhanson.codeforge.persistence.ChallengeDao
-
Checks if a challenge with the given title exists, ignoring case.
F
- findByDifficulty(Difficulty) - Method in class me.nickhanson.codeforge.persistence.ChallengeDao
-
Finds challenges by their difficulty level.
- findByPropertyEqual(String, Object) - Method in class me.nickhanson.codeforge.persistence.GenericDao
-
Find entities where a property equals a given value.
- findByTitle(String) - Method in class me.nickhanson.codeforge.persistence.ChallengeDao
-
Finds challenges by their title.
G
- GenericDao<T> - Class in me.nickhanson.codeforge.persistence
-
Generic, concrete data helper used by DAOs to perform common CRUD operations with Hibernate SessionFactory.
- GenericDao(Class<T>) - Constructor for class me.nickhanson.codeforge.persistence.GenericDao
- get(String) - Static method in class me.nickhanson.codeforge.config.LocalConfig
-
Retrieves the value of a specific property by key.
- get(Logger, Properties, String) - Static method in class me.nickhanson.codeforge.config.EnvConfig
-
Get the environment-specific property value.
- getAccessToken() - Method in class me.nickhanson.codeforge.auth.TokenResponse
- getAlg() - Method in class me.nickhanson.codeforge.auth.CognitoTokenHeader
- getAlg() - Method in class me.nickhanson.codeforge.auth.KeysItem
- getAll() - Method in class me.nickhanson.codeforge.persistence.ChallengeDao
- getAll() - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
- getAll() - Method in class me.nickhanson.codeforge.persistence.GenericDao
-
Get all entities of type T, ordered by ID ascending.
- getAll() - Method in class me.nickhanson.codeforge.persistence.SubmissionDao
- getAuthor() - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Gets the author of the quote.
- getAuthorSlug() - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Gets the author slug.
- getById(Long) - Method in class me.nickhanson.codeforge.persistence.ChallengeDao
- getById(Long) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
- getById(Long) - Method in class me.nickhanson.codeforge.persistence.GenericDao
-
Get entity by its primary key ID.
- getById(Long) - Method in class me.nickhanson.codeforge.persistence.SubmissionDao
- getById(Long) - Method in class me.nickhanson.codeforge.service.ChallengeService
-
Retrieves a challenge by its ID.
- getClaim(String, String) - Static method in class me.nickhanson.codeforge.auth.CognitoJWTParser
-
Returns a claim, from the
JWTs' payload, as a String. - getContent() - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Gets the content of the quote.
- getDateAdded() - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Gets the date the quote was added.
- getDateModified() - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Gets the date the quote was last modified.
- getDueQueue(int, String) - Method in class me.nickhanson.codeforge.service.DrillService
-
Retrieves a list of due drill items for the specified user, up to the given limit.
- getE() - Method in class me.nickhanson.codeforge.auth.KeysItem
- getExpiresIn() - Method in class me.nickhanson.codeforge.auth.TokenResponse
- getFeedback() - Method in class me.nickhanson.codeforge.evaluator.AnswerEvaluation
- getHeader(String) - Static method in class me.nickhanson.codeforge.auth.CognitoJWTParser
-
Returns header for a JWT as a JSON object.
- getId() - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Gets the unique identifier of the quote.
- getIdToken() - Method in class me.nickhanson.codeforge.auth.TokenResponse
- getKeys() - Method in class me.nickhanson.codeforge.auth.Keys
- getKid() - Method in class me.nickhanson.codeforge.auth.CognitoTokenHeader
- getKid() - Method in class me.nickhanson.codeforge.auth.KeysItem
- getKty() - Method in class me.nickhanson.codeforge.auth.KeysItem
- getLength() - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Gets the length of the quote.
- getN() - Method in class me.nickhanson.codeforge.auth.KeysItem
- getNormalizedExpected() - Method in class me.nickhanson.codeforge.evaluator.AnswerEvaluation
- getNormalizedSubmitted() - Method in class me.nickhanson.codeforge.evaluator.AnswerEvaluation
- getOutcome() - Method in class me.nickhanson.codeforge.evaluator.AnswerEvaluation
-
Gets the outcome of the evaluation.
- getPayload(String) - Static method in class me.nickhanson.codeforge.auth.CognitoJWTParser
-
Returns payload of a JWT as a JSON object.
- getRandomQuote() - Method in class me.nickhanson.codeforge.service.QuoteService
-
Fetches a random programming quote from the external API.
- getRefreshToken() - Method in class me.nickhanson.codeforge.auth.TokenResponse
- getSessionFactory() - Static method in class me.nickhanson.codeforge.persistence.SessionFactoryProvider
-
Gets the singleton SessionFactory instance.
- getSignature(String) - Static method in class me.nickhanson.codeforge.auth.CognitoJWTParser
-
Returns signature of a JWT as a String.
- getTags() - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Gets the tags associated with the quote.
- getTokenType() - Method in class me.nickhanson.codeforge.auth.TokenResponse
- getUse() - Method in class me.nickhanson.codeforge.auth.KeysItem
- getUserId(HttpServletRequest) - Static method in class me.nickhanson.codeforge.web.UserContext
-
Returns the Cognito subject (userId) stored in session under key "userSub".
H
- HARD - Enum constant in enum class me.nickhanson.codeforge.entity.Difficulty
- HealthServlet - Class in me.nickhanson.codeforge.web
-
Lightweight readiness/liveness endpoint.
- HealthServlet() - Constructor for class me.nickhanson.codeforge.web.HealthServlet
- HomeServlet - Class in me.nickhanson.codeforge.web
-
Servlet handling requests to the home page.
- HomeServlet() - Constructor for class me.nickhanson.codeforge.web.HomeServlet
I
- INCORRECT - Enum constant in enum class me.nickhanson.codeforge.entity.Outcome
- init() - Method in class me.nickhanson.codeforge.controller.Auth
-
Initializes the servlet by loading properties and resolving the client secret.
- init() - Method in class me.nickhanson.codeforge.controller.LogIn
- init() - Method in class me.nickhanson.codeforge.controller.LogOut
- init() - Method in class me.nickhanson.codeforge.web.ChallengesServlet
- init() - Method in class me.nickhanson.codeforge.web.DrillServlet
- init() - Method in class me.nickhanson.codeforge.web.PracticeServlet
-
Initializes services from servlet context or creates new instances if not present.
- isAuthenticated(HttpServletRequest) - Static method in class me.nickhanson.codeforge.web.UserContext
-
Convenience method to check if the request is authenticated.
- isEnrolledInDrill(Long, String) - Method in class me.nickhanson.codeforge.service.DrillService
-
Checks if a user is enrolled in a drill for a specific challenge.
K
- Keys - Class in me.nickhanson.codeforge.auth
- Keys() - Constructor for class me.nickhanson.codeforge.auth.Keys
- KeysItem - Class in me.nickhanson.codeforge.auth
- KeysItem() - Constructor for class me.nickhanson.codeforge.auth.KeysItem
L
- listByChallengeId(Long) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
List all DrillItems for a given Challenge ID, ordered by nextDueAt ascending.
- listByChallengeId(Long) - Method in class me.nickhanson.codeforge.persistence.SubmissionDao
-
Lists all submissions associated with a specific challenge ID.
- listByChallengeIdAndUser(Long, String) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
List all DrillItems for a given Challenge ID and user, ordered by nextDueAt ascending.
- listByChallengeIdAndUser(Long, String) - Method in class me.nickhanson.codeforge.persistence.SubmissionDao
-
Lists submissions for a specific challenge and user.
- listChallenges(Difficulty) - Method in class me.nickhanson.codeforge.service.ChallengeService
-
Lists all challenges, optionally filtered by difficulty.
- load() - Static method in class me.nickhanson.codeforge.config.LocalConfig
-
Loads the local configuration properties from 'test-db.properties'.
- loadProperties(String) - Method in interface me.nickhanson.codeforge.config.PropertiesLoader
-
This default method will load a properties file into a Properties instance and return it.
- LocalConfig - Class in me.nickhanson.codeforge.config
-
Loads local configuration properties from a file.
- LocalConfig() - Constructor for class me.nickhanson.codeforge.config.LocalConfig
- logger - Static variable in interface me.nickhanson.codeforge.config.PropertiesLoader
- LogIn - Class in me.nickhanson.codeforge.controller
-
Servlet that handles routing users to the AWS Cognito hosted login page.
- LogIn() - Constructor for class me.nickhanson.codeforge.controller.LogIn
- LogOut - Class in me.nickhanson.codeforge.controller
-
Handles user logout by invalidating the local session and redirecting to Cognito logout.
- LogOut() - Constructor for class me.nickhanson.codeforge.controller.LogOut
M
- me.nickhanson.codeforge.auth - package me.nickhanson.codeforge.auth
- me.nickhanson.codeforge.config - package me.nickhanson.codeforge.config
- me.nickhanson.codeforge.controller - package me.nickhanson.codeforge.controller
- me.nickhanson.codeforge.entity - package me.nickhanson.codeforge.entity
- me.nickhanson.codeforge.evaluator - package me.nickhanson.codeforge.evaluator
- me.nickhanson.codeforge.external.model - package me.nickhanson.codeforge.external.model
- me.nickhanson.codeforge.persistence - package me.nickhanson.codeforge.persistence
- me.nickhanson.codeforge.service - package me.nickhanson.codeforge.service
- me.nickhanson.codeforge.web - package me.nickhanson.codeforge.web
- MEDIUM - Enum constant in enum class me.nickhanson.codeforge.entity.Difficulty
- MeServlet - Class in me.nickhanson.codeforge.web
-
Simple servlet to render the current authenticated user details.
- MeServlet() - Constructor for class me.nickhanson.codeforge.web.MeServlet
N
- nextDue(String) - Method in class me.nickhanson.codeforge.service.DrillService
-
Retrieves the next due DrillItem for the specified user.
- Normalizer - Class in me.nickhanson.codeforge.evaluator
-
Utility class for normalizing strings for evaluation.
O
- Outcome - Enum Class in me.nickhanson.codeforge.entity
-
Represents the outcome of a test case evaluation.
P
- PracticeServlet - Class in me.nickhanson.codeforge.web
-
Servlet handling practice mode operations, including displaying practice challenges and processing challenge submissions.
- PracticeServlet() - Constructor for class me.nickhanson.codeforge.web.PracticeServlet
- PropertiesLoader - Interface in me.nickhanson.codeforge.config
-
This interface contains a default method that can be used anywhere a Properties object is needed to be loaded.
Q
- QuoteResponse - Class in me.nickhanson.codeforge.external.model
-
Model class representing a quote response from an external API.
- QuoteResponse() - Constructor for class me.nickhanson.codeforge.external.model.QuoteResponse
- QuoteService - Class in me.nickhanson.codeforge.service
-
Service to fetch random programming quotes from an external API.
- QuoteService() - Constructor for class me.nickhanson.codeforge.service.QuoteService
R
- recordOutcome(Long, Outcome, String, String) - Method in class me.nickhanson.codeforge.service.DrillService
-
Records the outcome of a user's attempt at a challenge and updates the corresponding drill item.
- run(Long, String, String) - Method in class me.nickhanson.codeforge.service.ChallengeRunService
-
Evaluates submitted code for a given challenge using a default mode.
- RunResult - Class in me.nickhanson.codeforge.service
-
Represents the result of a code run, including the outcome and an associated message.
- RunResult(Outcome, String) - Constructor for class me.nickhanson.codeforge.service.RunResult
-
Constructs a new RunResult with the specified outcome and message.
- runWithMode(String, Long, String, String) - Method in class me.nickhanson.codeforge.service.ChallengeRunService
-
Internal method to evaluate code with a specified mode for telemetry.
S
- saveOrUpdate(Challenge) - Method in class me.nickhanson.codeforge.persistence.ChallengeDao
- saveOrUpdate(DrillItem) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
- saveOrUpdate(Submission) - Method in class me.nickhanson.codeforge.persistence.SubmissionDao
- saveOrUpdate(T) - Method in class me.nickhanson.codeforge.persistence.GenericDao
-
Save or update the given entity.
- SessionFactoryProvider - Class in me.nickhanson.codeforge.persistence
-
Provides a singleton SessionFactory for Hibernate ORM.
- SessionFactoryProvider() - Constructor for class me.nickhanson.codeforge.persistence.SessionFactoryProvider
- setAuthor(String) - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Sets the author of the quote.
- setAuthorSlug(String) - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Sets the author slug.
- setContent(String) - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Sets the content of the quote.
- setDateAdded(String) - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Sets the date the quote was added.
- setDateModified(String) - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Sets the date the quote was last modified.
- setId(String) - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Sets the unique identifier of the quote.
- setLength(int) - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Sets the length of the quote.
- setTags(List<String>) - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Sets the tags associated with the quote.
- SKIPPED - Enum constant in enum class me.nickhanson.codeforge.entity.Outcome
- soonestUpcoming() - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
Find the DrillItem with the soonest upcoming nextDueAt.
- soonestUpcoming(String) - Method in class me.nickhanson.codeforge.persistence.DrillItemDao
-
Find the soonest upcoming DrillItem for a user.
- StartupServlet - Class in me.nickhanson.codeforge.controller
-
ServletContextListener that loads Cognito properties at application startup and makes them available as a servlet context attribute.
- StartupServlet() - Constructor for class me.nickhanson.codeforge.controller.StartupServlet
- stripPunctuation(String) - Static method in class me.nickhanson.codeforge.evaluator.Normalizer
-
Strips all punctuation characters from the input string.
- Submission - Class in me.nickhanson.codeforge.entity
-
Represents a Submission entity, which tracks the outcome of a user's attempt to solve a Challenge.
- Submission(Challenge, Outcome, String) - Constructor for class me.nickhanson.codeforge.entity.Submission
-
Constructs a new Submission with the specified challenge, outcome, and optional code.
- SubmissionDao - Class in me.nickhanson.codeforge.persistence
-
Data Access Object for Submission entities.
- SubmissionDao() - Constructor for class me.nickhanson.codeforge.persistence.SubmissionDao
T
- titleExists(String) - Method in class me.nickhanson.codeforge.service.ChallengeService
-
Checks if a challenge title already exists (case insensitive).
- titleExistsForOther(String, Long) - Method in class me.nickhanson.codeforge.service.ChallengeService
-
Checks if a challenge title already exists for a different challenge (case insensitive).
- TokenResponse - Class in me.nickhanson.codeforge.auth
- TokenResponse() - Constructor for class me.nickhanson.codeforge.auth.TokenResponse
- toString() - Method in class me.nickhanson.codeforge.external.model.QuoteResponse
-
Returns a string representation of the QuoteResponse object.
U
- update(Long, ChallengeForm) - Method in class me.nickhanson.codeforge.service.ChallengeService
-
Updates an existing challenge with the provided form data.
- UserContext - Class in me.nickhanson.codeforge.web
-
Helper for reading the authenticated user context (Cognito sub) from the session.
- Utf8EncodingFilter - Class in me.nickhanson.codeforge.web
-
A servlet filter that sets the character encoding for requests and responses to UTF-8.
- Utf8EncodingFilter() - Constructor for class me.nickhanson.codeforge.web.Utf8EncodingFilter
V
- validateJWT(String) - Static method in class me.nickhanson.codeforge.auth.CognitoJWTParser
-
Checks if
JWTis a valid JSON Web Token. - valueOf(String) - Static method in enum class me.nickhanson.codeforge.entity.Difficulty
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.nickhanson.codeforge.entity.Outcome
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class me.nickhanson.codeforge.entity.Difficulty
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.nickhanson.codeforge.entity.Outcome
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form