Class ScenarioExecutionReportEntity
java.lang.Object
fr.enedis.chutney.execution.infra.storage.jpa.ScenarioExecutionReportEntity
@Entity(name="SCENARIO_EXECUTIONS_REPORTS")
public class ScenarioExecutionReportEntity
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionScenarioExecutionReportEntity(ScenarioExecutionEntity scenarioExecution, String report) -
Method Summary
Modifier and TypeMethodDescriptionprotected fr.enedis.chutney.server.core.domain.dataset.DataSetfr.enedis.chutney.server.core.domain.execution.report.ServerReportStatusstatus()fr.enedis.chutney.server.core.domain.execution.history.ExecutionHistory.ExecutiontoDomain()voidupdateReport(fr.enedis.chutney.server.core.domain.execution.history.ExecutionHistory.Execution execution)
-
Constructor Details
-
ScenarioExecutionReportEntity
public ScenarioExecutionReportEntity() -
ScenarioExecutionReportEntity
-
-
Method Details
-
updateReport
public void updateReport(fr.enedis.chutney.server.core.domain.execution.history.ExecutionHistory.Execution execution) -
getReport
-
scenarioExecutionId
-
status
public fr.enedis.chutney.server.core.domain.execution.report.ServerReportStatus status() -
toDomain
public fr.enedis.chutney.server.core.domain.execution.history.ExecutionHistory.Execution toDomain() -
getDatasetFromReport
protected fr.enedis.chutney.server.core.domain.dataset.DataSet getDatasetFromReport()
-