Class WorkflowExecutionMetadata
java.lang.Object
io.temporal.client.WorkflowExecutionMetadata
- Direct Known Subclasses:
WorkflowExecutionDescription
WorkflowExecutionMetadata contains information about a workflow execution.
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowExecutionMetadata(io.temporal.api.workflow.v1.WorkflowExecutionInfo info, DataConverter dataConverter) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.temporal.api.common.v1.WorkflowExecutionlong<T> Object<T> Tio.temporal.api.common.v1.WorkflowExecutionio.temporal.api.common.v1.WorkflowExecutionDeprecated.io.temporal.api.enums.v1.WorkflowExecutionStatusGet search attributes as a typed set.io.temporal.api.workflow.v1.WorkflowExecutionInfointhashCode()
-
Constructor Details
-
WorkflowExecutionMetadata
public WorkflowExecutionMetadata(@Nonnull io.temporal.api.workflow.v1.WorkflowExecutionInfo info, @Nonnull DataConverter dataConverter)
-
-
Method Details
-
getExecution
@Nonnull public io.temporal.api.common.v1.WorkflowExecution getExecution() -
getWorkflowType
-
getTaskQueue
-
getStartTime
-
getExecutionTime
-
getCloseTime
-
getStatus
@Nonnull public io.temporal.api.enums.v1.WorkflowExecutionStatus getStatus() -
getHistoryLength
public long getHistoryLength() -
getParentNamespace
-
getParentExecution
@Nullable public io.temporal.api.common.v1.WorkflowExecution getParentExecution() -
getRootExecution
@Nullable public io.temporal.api.common.v1.WorkflowExecution getRootExecution() -
getFirstRunId
-
getExecutionDuration
-
getSearchAttributes
Deprecated.usegetTypedSearchAttributes()instead. -
getTypedSearchAttributes
Get search attributes as a typed set. -
getMemo
-
getMemo
-
getWorkflowExecutionInfo
@Nonnull public io.temporal.api.workflow.v1.WorkflowExecutionInfo getWorkflowExecutionInfo() -
equals
-
hashCode
-
getTypedSearchAttributes()instead.