Class NexusOperationExecutionMetadata
java.lang.Object
io.temporal.client.NexusOperationExecutionMetadata
- Direct Known Subclasses:
NexusOperationExecutionDescription
Information about a standalone Nexus operation execution returned by
NexusClient.listNexusOperationExecutions(java.lang.String).-
Method Summary
Modifier and TypeMethodDescriptionbooleanfromListInfo(io.temporal.api.nexus.v1.NexusOperationExecutionListInfo info) Time the operation transitioned to a terminal status.The Nexus endpoint name this operation targets.Close time minus scheduled time.The Nexus operation name within the service.The user-assigned identifier for this operation.io.temporal.api.nexus.v1.NexusOperationExecutionListInfoThe raw protobuf list info from the server.getRunId()The server-assigned run ID for this operation execution.Time when the operation was originally scheduled via aStartNexusOperationrequest.Search attributes attached to this operation execution.The Nexus service name on the endpoint.longServer-tracked count of state transitions; updated on terminal status.io.temporal.api.enums.v1.NexusOperationExecutionStatusGeneral status of the operation execution.inthashCode()toString()
-
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 viafromListInfo(io.temporal.api.nexus.v1.NexusOperationExecutionListInfo). -
getOperationId
The user-assigned identifier for this operation. -
getRunId
The server-assigned run ID for this operation execution. May benull. -
getEndpoint
The Nexus endpoint name this operation targets.nullif the server omitted it. -
getService
The Nexus service name on the endpoint.nullif the server omitted it. -
getOperation
The Nexus operation name within the service.nullif the server omitted it. -
getScheduledTime
Time when the operation was originally scheduled via aStartNexusOperationrequest.nullif the server omitted it. -
getCloseTime
Time the operation transitioned to a terminal status.nullwhile still running. -
getStatus
@Nonnull public io.temporal.api.enums.v1.NexusOperationExecutionStatus getStatus()General status of the operation execution. -
getSearchAttributes
Search attributes attached to this operation execution. -
getStateTransitionCount
public long getStateTransitionCount()Server-tracked count of state transitions; updated on terminal status. -
getExecutionDuration
Close time minus scheduled time.nullwhile still running. -
equals
-
hashCode
-
toString
-