Class ActivityExecutionMetadata
java.lang.Object
io.temporal.client.ActivityExecutionMetadata
- Direct Known Subclasses:
ActivityExecutionDescription
Information about a standalone activity execution returned by
ActivityClient.listExecutions(java.lang.String).-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ActivityExecutionMetadatafromListInfo(io.temporal.api.activity.v1.ActivityExecutionListInfo info) The user-assigned identifier for this activity.The server-assigned run ID for this activity execution.The activity type name.Time when the activity transitioned to a terminal status.The difference between close time and scheduled time.io.temporal.api.activity.v1.ActivityExecutionListInfoThe raw protobuf list info from the server.Time when the activity was originally scheduled.Search attributes attached to this activity execution.io.temporal.api.enums.v1.ActivityExecutionStatusGeneral status of the activity execution.The task queue this activity was scheduled on.inthashCode()toString()
-
Method Details
-
fromListInfo
public static ActivityExecutionMetadata fromListInfo(io.temporal.api.activity.v1.ActivityExecutionListInfo info) -
getRawListInfo
@Nullable public io.temporal.api.activity.v1.ActivityExecutionListInfo getRawListInfo()The raw protobuf list info from the server. Only present when this instance was created viafromListInfo(io.temporal.api.activity.v1.ActivityExecutionListInfo);nullfor subclasses likeActivityExecutionDescription. -
getActivityId
The user-assigned identifier for this activity. -
getActivityRunId
The server-assigned run ID for this activity execution. May benullfor older server versions. -
getActivityType
The activity type name. -
getCloseTime
Time when the activity transitioned to a terminal status.nullif the activity is still running. -
getExecutionDuration
The difference between close time and scheduled time.nullif the activity is not yet closed. -
getScheduledTime
Time when the activity was originally scheduled. -
getStatus
@Nonnull public io.temporal.api.enums.v1.ActivityExecutionStatus getStatus()General status of the activity execution. -
getTaskQueue
The task queue this activity was scheduled on. -
getSearchAttributes
Search attributes attached to this activity execution. -
equals
-
hashCode
-
toString
-