Class WorkflowExecutionMetadata

java.lang.Object
io.temporal.client.WorkflowExecutionMetadata
Direct Known Subclasses:
WorkflowExecutionDescription

public class WorkflowExecutionMetadata extends Object
WorkflowExecutionMetadata contains information about a workflow execution.
  • 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

      @Nonnull public String getWorkflowType()
    • getTaskQueue

      @Nonnull public String getTaskQueue()
    • getStartTime

      @Nonnull public Instant getStartTime()
    • getExecutionTime

      @Nonnull public Instant getExecutionTime()
    • getCloseTime

      @Nullable public Instant getCloseTime()
    • getStatus

      @Nonnull public io.temporal.api.enums.v1.WorkflowExecutionStatus getStatus()
    • getHistoryLength

      public long getHistoryLength()
    • getParentNamespace

      @Nullable public String getParentNamespace()
    • getParentExecution

      @Nullable public io.temporal.api.common.v1.WorkflowExecution getParentExecution()
    • getRootExecution

      @Nullable public io.temporal.api.common.v1.WorkflowExecution getRootExecution()
    • getFirstRunId

      @Nullable public String getFirstRunId()
    • getExecutionDuration

      @Nullable public Duration getExecutionDuration()
    • getSearchAttributes

      @Deprecated @Nonnull public Map<String,List<?>> getSearchAttributes()
      Deprecated.
    • getTypedSearchAttributes

      @Nonnull public SearchAttributes getTypedSearchAttributes()
      Get search attributes as a typed set.
    • getMemo

      @Nullable public <T> Object getMemo(String key, Class<T> valueClass)
    • getMemo

      @Nullable public <T> T getMemo(String key, Class<T> valueClass, Type genericType)
    • getWorkflowExecutionInfo

      @Nonnull public io.temporal.api.workflow.v1.WorkflowExecutionInfo getWorkflowExecutionInfo()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object