Record Class JobActionExecutionDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.action.JobActionExecutionDTO
- Record Components:
actionId- public action identifierexecutionId- public execution identifiersequence- durable action ordername- action namedisplayName- operator-facing namehandlerVersion- input handler versioninputJson- sanitized input JSONstatus- action execution statusstartedAt- start timecompletedAt- completion timeprogressCurrent- progress current valueprogressTotal- progress total valueprogressUnit- progress unitprogressMessage- progress messageoutputType- semantic output typeoutputVersion- output schema versionoutputSummary- operator output summaryoutputJson- structured output JSONfailureKind- failure categoryfailureCode- stable failure codefailureMessage- operator-safe failure messageretryable- retryability classificationhasEvents- whether events existartifacts- action artifacts
public record JobActionExecutionDTO(String actionId, String executionId, int sequence, String name, String displayName, int handlerVersion, String inputJson, EnumDisplay status, LocalDateTime startedAt, LocalDateTime completedAt, Long progressCurrent, Long progressTotal, String progressUnit, String progressMessage, String outputType, Integer outputVersion, String outputSummary, String outputJson, String failureKind, String failureCode, String failureMessage, boolean retryable, boolean hasEvents, List<JobArtifactDTO> artifacts)
extends Record
Operator detail for a stable action and its latest execution.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionJobActionExecutionDTO(String actionId, String executionId, int sequence, String name, String displayName, int handlerVersion, String inputJson, EnumDisplay status, LocalDateTime startedAt, LocalDateTime completedAt, Long progressCurrent, Long progressTotal, String progressUnit, String progressMessage, String outputType, Integer outputVersion, String outputSummary, String outputJson, String failureKind, String failureCode, String failureMessage, boolean retryable, boolean hasEvents, List<JobArtifactDTO> artifacts) Creates an instance of aJobActionExecutionDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionactionId()Returns the value of theactionIdrecord component.Returns the value of theartifactsrecord component.Returns the value of thecompletedAtrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionIdrecord component.Returns the value of thefailureCoderecord component.Returns the value of thefailureKindrecord component.Returns the value of thefailureMessagerecord component.intReturns the value of thehandlerVersionrecord component.booleanReturns the value of thehasEventsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinputJsonrecord component.name()Returns the value of thenamerecord component.Returns the value of theoutputJsonrecord component.Returns the value of theoutputSummaryrecord component.Returns the value of theoutputTyperecord component.Returns the value of theoutputVersionrecord component.Returns the value of theprogressCurrentrecord component.Returns the value of theprogressMessagerecord component.Returns the value of theprogressTotalrecord component.Returns the value of theprogressUnitrecord component.booleanReturns the value of theretryablerecord component.intsequence()Returns the value of thesequencerecord component.Returns the value of thestartedAtrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JobActionExecutionDTO
public JobActionExecutionDTO(String actionId, String executionId, int sequence, String name, String displayName, int handlerVersion, String inputJson, EnumDisplay status, LocalDateTime startedAt, LocalDateTime completedAt, Long progressCurrent, Long progressTotal, String progressUnit, String progressMessage, String outputType, Integer outputVersion, String outputSummary, String outputJson, String failureKind, String failureCode, String failureMessage, boolean retryable, boolean hasEvents, List<JobArtifactDTO> artifacts) Creates an instance of aJobActionExecutionDTOrecord class.- Parameters:
actionId- the value for theactionIdrecord componentexecutionId- the value for theexecutionIdrecord componentsequence- the value for thesequencerecord componentname- the value for thenamerecord componentdisplayName- the value for thedisplayNamerecord componenthandlerVersion- the value for thehandlerVersionrecord componentinputJson- the value for theinputJsonrecord componentstatus- the value for thestatusrecord componentstartedAt- the value for thestartedAtrecord componentcompletedAt- the value for thecompletedAtrecord componentprogressCurrent- the value for theprogressCurrentrecord componentprogressTotal- the value for theprogressTotalrecord componentprogressUnit- the value for theprogressUnitrecord componentprogressMessage- the value for theprogressMessagerecord componentoutputType- the value for theoutputTyperecord componentoutputVersion- the value for theoutputVersionrecord componentoutputSummary- the value for theoutputSummaryrecord componentoutputJson- the value for theoutputJsonrecord componentfailureKind- the value for thefailureKindrecord componentfailureCode- the value for thefailureCoderecord componentfailureMessage- the value for thefailureMessagerecord componentretryable- the value for theretryablerecord componenthasEvents- the value for thehasEventsrecord componentartifacts- the value for theartifactsrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
actionId
-
executionId
Returns the value of theexecutionIdrecord component.- Returns:
- the value of the
executionIdrecord component
-
sequence
-
name
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
handlerVersion
public int handlerVersion()Returns the value of thehandlerVersionrecord component.- Returns:
- the value of the
handlerVersionrecord component
-
inputJson
-
status
-
startedAt
-
completedAt
Returns the value of thecompletedAtrecord component.- Returns:
- the value of the
completedAtrecord component
-
progressCurrent
Returns the value of theprogressCurrentrecord component.- Returns:
- the value of the
progressCurrentrecord component
-
progressTotal
Returns the value of theprogressTotalrecord component.- Returns:
- the value of the
progressTotalrecord component
-
progressUnit
Returns the value of theprogressUnitrecord component.- Returns:
- the value of the
progressUnitrecord component
-
progressMessage
Returns the value of theprogressMessagerecord component.- Returns:
- the value of the
progressMessagerecord component
-
outputType
Returns the value of theoutputTyperecord component.- Returns:
- the value of the
outputTyperecord component
-
outputVersion
Returns the value of theoutputVersionrecord component.- Returns:
- the value of the
outputVersionrecord component
-
outputSummary
Returns the value of theoutputSummaryrecord component.- Returns:
- the value of the
outputSummaryrecord component
-
outputJson
Returns the value of theoutputJsonrecord component.- Returns:
- the value of the
outputJsonrecord component
-
failureKind
Returns the value of thefailureKindrecord component.- Returns:
- the value of the
failureKindrecord component
-
failureCode
Returns the value of thefailureCoderecord component.- Returns:
- the value of the
failureCoderecord component
-
failureMessage
Returns the value of thefailureMessagerecord component.- Returns:
- the value of the
failureMessagerecord component
-
retryable
-
hasEvents
-
artifacts
-