Class NexusOperationExecutionMetadata

java.lang.Object
io.temporal.client.NexusOperationExecutionMetadata
Direct Known Subclasses:
NexusOperationExecutionDescription

@Experimental public class NexusOperationExecutionMetadata extends Object
Information about a standalone Nexus operation execution returned by NexusClient.listNexusOperationExecutions(java.lang.String).
  • Method Details

    • fromListInfo

      public static NexusOperationExecutionMetadata fromListInfo(io.temporal.api.nexus.v1.NexusOperationExecutionListInfo info)
    • getRawListInfo

      @Nullable public io.temporal.api.nexus.v1.NexusOperationExecutionListInfo getRawListInfo()
      The raw protobuf list info from the server. Only present when this instance was created via fromListInfo(io.temporal.api.nexus.v1.NexusOperationExecutionListInfo).
    • getOperationId

      @Nonnull public String getOperationId()
      The user-assigned identifier for this operation.
    • getRunId

      @Nullable public String getRunId()
      The server-assigned run ID for this operation execution. May be null.
    • getEndpoint

      @Nullable public String getEndpoint()
      The Nexus endpoint name this operation targets. null if the server omitted it.
    • getService

      @Nullable public String getService()
      The Nexus service name on the endpoint. null if the server omitted it.
    • getOperation

      @Nullable public String getOperation()
      The Nexus operation name within the service. null if the server omitted it.
    • getScheduledTime

      @Nullable public Instant getScheduledTime()
      Time when the operation was originally scheduled via a StartNexusOperation request. null if the server omitted it.
    • getCloseTime

      @Nullable public Instant getCloseTime()
      Time the operation transitioned to a terminal status. null while still running.
    • getStatus

      @Nonnull public io.temporal.api.enums.v1.NexusOperationExecutionStatus getStatus()
      General status of the operation execution.
    • getSearchAttributes

      @Nonnull public SearchAttributes getSearchAttributes()
      Search attributes attached to this operation execution.
    • getStateTransitionCount

      public long getStateTransitionCount()
      Server-tracked count of state transitions; updated on terminal status.
    • getExecutionDuration

      @Nullable public Duration getExecutionDuration()
      Close time minus scheduled time. null while still running.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object