Class RunResult

java.lang.Object
me.nickhanson.codeforge.service.RunResult

public class RunResult extends Object
Represents the result of a code run, including the outcome and an associated message. This is a simple value object used to encapsulate the result of executing code in current stub runners.
Author:
Nick Hanson
  • Constructor Details

    • RunResult

      public RunResult(Outcome outcome, String message)
      Constructs a new RunResult with the specified outcome and message.
      Parameters:
      outcome - The outcome of the code run (e.g., CORRECT, ACCEPTABLE, INCORRECT, SKIPPED).
      message - A descriptive message about the result of the code run.