Class TaskSolverRunner.StepResult

java.lang.Object
neqsim.mcp.runners.TaskSolverRunner.StepResult
Enclosing class:
TaskSolverRunner

static class TaskSolverRunner.StepResult extends Object
Result of executing a step.
Version:
1.0
Author:
Even Solbraa
  • Field Details

    • stepName

      final String stepName
      Step name.
    • runner

      final String runner
      Runner used.
    • output

      final String output
      Raw output JSON.
    • timeMs

      final long timeMs
      Execution time in milliseconds.
    • success

      boolean success
      Whether the step succeeded.
    • errorMessage

      String errorMessage
      Error message if failed.
  • Constructor Details

    • StepResult

      StepResult(String stepName, String runner, String output, long timeMs)
      Creates a step result.
      Parameters:
      stepName - the step name
      runner - the runner name
      output - the raw output
      timeMs - the time in ms
  • Method Details

    • toJson

      com.google.gson.JsonObject toJson()
      Converts to JSON representation.
      Returns:
      JsonObject