Record Class JobActionExecutionDTO

java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.action.JobActionExecutionDTO
Record Components:
actionId - public action identifier
executionId - public execution identifier
sequence - durable action order
name - action name
displayName - operator-facing name
handlerVersion - input handler version
inputJson - sanitized input JSON
status - action execution status
startedAt - start time
completedAt - completion time
progressCurrent - progress current value
progressTotal - progress total value
progressUnit - progress unit
progressMessage - progress message
outputType - semantic output type
outputVersion - output schema version
outputSummary - operator output summary
outputJson - structured output JSON
failureKind - failure category
failureCode - stable failure code
failureMessage - operator-safe failure message
retryable - retryability classification
hasEvents - whether events exist
artifacts - 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 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 a JobActionExecutionDTO record class.
      Parameters:
      actionId - the value for the actionId record component
      executionId - the value for the executionId record component
      sequence - the value for the sequence record component
      name - the value for the name record component
      displayName - the value for the displayName record component
      handlerVersion - the value for the handlerVersion record component
      inputJson - the value for the inputJson record component
      status - the value for the status record component
      startedAt - the value for the startedAt record component
      completedAt - the value for the completedAt record component
      progressCurrent - the value for the progressCurrent record component
      progressTotal - the value for the progressTotal record component
      progressUnit - the value for the progressUnit record component
      progressMessage - the value for the progressMessage record component
      outputType - the value for the outputType record component
      outputVersion - the value for the outputVersion record component
      outputSummary - the value for the outputSummary record component
      outputJson - the value for the outputJson record component
      failureKind - the value for the failureKind record component
      failureCode - the value for the failureCode record component
      failureMessage - the value for the failureMessage record component
      retryable - the value for the retryable record component
      hasEvents - the value for the hasEvents record component
      artifacts - the value for the artifacts record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • actionId

      public String actionId()
      Returns the value of the actionId record component.
      Returns:
      the value of the actionId record component
    • executionId

      public String executionId()
      Returns the value of the executionId record component.
      Returns:
      the value of the executionId record component
    • sequence

      public int sequence()
      Returns the value of the sequence record component.
      Returns:
      the value of the sequence record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • displayName

      public String displayName()
      Returns the value of the displayName record component.
      Returns:
      the value of the displayName record component
    • handlerVersion

      public int handlerVersion()
      Returns the value of the handlerVersion record component.
      Returns:
      the value of the handlerVersion record component
    • inputJson

      public String inputJson()
      Returns the value of the inputJson record component.
      Returns:
      the value of the inputJson record component
    • status

      public EnumDisplay status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • startedAt

      public LocalDateTime startedAt()
      Returns the value of the startedAt record component.
      Returns:
      the value of the startedAt record component
    • completedAt

      public LocalDateTime completedAt()
      Returns the value of the completedAt record component.
      Returns:
      the value of the completedAt record component
    • progressCurrent

      public Long progressCurrent()
      Returns the value of the progressCurrent record component.
      Returns:
      the value of the progressCurrent record component
    • progressTotal

      public Long progressTotal()
      Returns the value of the progressTotal record component.
      Returns:
      the value of the progressTotal record component
    • progressUnit

      public String progressUnit()
      Returns the value of the progressUnit record component.
      Returns:
      the value of the progressUnit record component
    • progressMessage

      public String progressMessage()
      Returns the value of the progressMessage record component.
      Returns:
      the value of the progressMessage record component
    • outputType

      public String outputType()
      Returns the value of the outputType record component.
      Returns:
      the value of the outputType record component
    • outputVersion

      public Integer outputVersion()
      Returns the value of the outputVersion record component.
      Returns:
      the value of the outputVersion record component
    • outputSummary

      public String outputSummary()
      Returns the value of the outputSummary record component.
      Returns:
      the value of the outputSummary record component
    • outputJson

      public String outputJson()
      Returns the value of the outputJson record component.
      Returns:
      the value of the outputJson record component
    • failureKind

      public String failureKind()
      Returns the value of the failureKind record component.
      Returns:
      the value of the failureKind record component
    • failureCode

      public String failureCode()
      Returns the value of the failureCode record component.
      Returns:
      the value of the failureCode record component
    • failureMessage

      public String failureMessage()
      Returns the value of the failureMessage record component.
      Returns:
      the value of the failureMessage record component
    • retryable

      public boolean retryable()
      Returns the value of the retryable record component.
      Returns:
      the value of the retryable record component
    • hasEvents

      public boolean hasEvents()
      Returns the value of the hasEvents record component.
      Returns:
      the value of the hasEvents record component
    • artifacts

      public List<JobArtifactDTO> artifacts()
      Returns the value of the artifacts record component.
      Returns:
      the value of the artifacts record component