Package me.nickhanson.codeforge.entity
Class Submission
java.lang.Object
me.nickhanson.codeforge.entity.Submission
Represents a Submission entity, which tracks the outcome of a user's attempt
to solve a Challenge. This entity includes fields for the associated Challenge,
the result of the submission, and optional solution code.
- Author:
- Nick Hanson
-
Constructor Summary
ConstructorsConstructorDescriptionSubmission(Challenge challenge, Outcome outcome, String code) Constructs a new Submission with the specified challenge, outcome, and optional code. -
Method Summary
-
Constructor Details
-
Submission
Constructs a new Submission with the specified challenge, outcome, and optional code.- Parameters:
challenge- The Challenge associated with this submission.outcome- The outcome of the submission.code- Optional solution code for the submission.
-