ScenarioCompleted

data class ScenarioCompleted(val scenarioName: String, val index: Int, val totalScenarios: Int, val snapshot: SimulationSnapshot.ExperimentCompleted?) : RunEvent(source)

Emitted by ScenarioOrchestrator after each scenario completes (or fails).

Events are emitted in scenario-index order during the sequential commit phase of ConcurrentScenarioRunner, after all scenarios have finished executing.

Constructors

Link copied to clipboard
constructor(scenarioName: String, index: Int, totalScenarios: Int, snapshot: SimulationSnapshot.ExperimentCompleted?)

Properties

Link copied to clipboard
val index: Int

1-based position of this scenario among all scenarios

Link copied to clipboard

the scenario name as specified in ScenarioSpec.name

Link copied to clipboard

experiment-completed snapshot; null if the scenario failed with a RuntimeException

Link copied to clipboard

total number of scenarios in the run