Package fr.enedis.chutney.execution.api
Record Class StepExecutionReportCoreDto
java.lang.Object
java.lang.Record
fr.enedis.chutney.execution.api.StepExecutionReportCoreDto
public record StepExecutionReportCoreDto(String name, Long duration, Instant startDate, ServerReportStatus status, List<String> information, List<String> errors, List<StepExecutionReportCoreDto> steps, String type, String targetName, String targetUrl, String strategy, Map<String,Object> evaluatedInputs, Map<String,Object> stepOutputs)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionStepExecutionReportCoreDto(String name, Long duration, Instant startDate, ServerReportStatus status, List<String> information, List<String> errors, List<StepExecutionReportCoreDto> steps, String type, String targetName, String targetUrl, String strategy, Map<String, Object> evaluatedInputs, Map<String, Object> stepOutputs) Creates an instance of aStepExecutionReportCoreDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionduration()Returns the value of thedurationrecord component.final booleanIndicates whether some other object is "equal to" this one.errors()Returns the value of theerrorsrecord component.Returns the value of theevaluatedInputsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinformationrecord component.name()Returns the value of thenamerecord component.Returns the value of thestartDaterecord component.status()Returns the value of thestatusrecord component.Returns the value of thestepOutputsrecord component.steps()Returns the value of thestepsrecord component.strategy()Returns the value of thestrategyrecord component.Returns the value of thetargetNamerecord component.Returns the value of thetargetUrlrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
StepExecutionReportCoreDto
public StepExecutionReportCoreDto(String name, Long duration, Instant startDate, ServerReportStatus status, List<String> information, List<String> errors, List<StepExecutionReportCoreDto> steps, String type, String targetName, String targetUrl, String strategy, Map<String, Object> evaluatedInputs, Map<String, Object> stepOutputs) Creates an instance of aStepExecutionReportCoreDtorecord class.- Parameters:
name- the value for thenamerecord componentduration- the value for thedurationrecord componentstartDate- the value for thestartDaterecord componentstatus- the value for thestatusrecord componentinformation- the value for theinformationrecord componenterrors- the value for theerrorsrecord componentsteps- the value for thestepsrecord componenttype- the value for thetyperecord componenttargetName- the value for thetargetNamerecord componenttargetUrl- the value for thetargetUrlrecord componentstrategy- the value for thestrategyrecord componentevaluatedInputs- the value for theevaluatedInputsrecord componentstepOutputs- the value for thestepOutputsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
duration
Returns the value of thedurationrecord component.- Returns:
- the value of the
durationrecord component
-
startDate
Returns the value of thestartDaterecord component.- Returns:
- the value of the
startDaterecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
information
Returns the value of theinformationrecord component.- Returns:
- the value of the
informationrecord component
-
errors
Returns the value of theerrorsrecord component.- Returns:
- the value of the
errorsrecord component
-
steps
Returns the value of thestepsrecord component.- Returns:
- the value of the
stepsrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
targetName
Returns the value of thetargetNamerecord component.- Returns:
- the value of the
targetNamerecord component
-
targetUrl
Returns the value of thetargetUrlrecord component.- Returns:
- the value of the
targetUrlrecord component
-
strategy
Returns the value of thestrategyrecord component.- Returns:
- the value of the
strategyrecord component
-
evaluatedInputs
Returns the value of theevaluatedInputsrecord component.- Returns:
- the value of the
evaluatedInputsrecord component
-
stepOutputs
Returns the value of thestepOutputsrecord component.- Returns:
- the value of the
stepOutputsrecord component
-