Class StepExecutionReportBuilder
java.lang.Object
fr.enedis.chutney.engine.domain.execution.report.StepExecutionReportBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfrom(StepExecutionReport stepExecutionReport) setDuration(long duration) setEnvironment(String environment) setEvaluatedInputs(Map<String, Object> evaluatedInputs) setEvaluatedInputsSnapshot(Map<String, Object> evaluatedInputsSnapshot) setInformation(List<String> information) setScenarioContext(Map<String, Object> scenarioContext) setStartDate(Instant startDate) setStepResults(Map<String, Object> stepResults) setStepResultsSnapshot(Map<String, Object> stepResultsSnapshot) setSteps(List<StepExecutionReport> steps) setStrategy(String strategy) setTargetName(String name) setTargetUrl(String url)
-
Constructor Details
-
StepExecutionReportBuilder
public StepExecutionReportBuilder()
-
-
Method Details
-
from
-
setEvaluatedInputs
-
setStepResults
-
setEvaluatedInputsSnapshot
public StepExecutionReportBuilder setEvaluatedInputsSnapshot(Map<String, Object> evaluatedInputsSnapshot) -
setStepResultsSnapshot
-
setScenarioContext
-
setName
-
setEnvironment
-
setDuration
-
setStartDate
-
setStatus
-
setInformation
-
setErrors
-
setSteps
-
setType
-
setTarget
-
setTargetName
-
setTargetUrl
-
setStrategy
-
createStepExecutionReport
-