Package io.temporal.workflow
Interface WorkflowInfo
-
public interface WorkflowInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAttempt()java.util.Optional<java.lang.String>getContinuedExecutionRunId()java.lang.StringgetCronSchedule()java.lang.StringgetNamespace()java.util.Optional<java.lang.String>getParentRunId()java.util.Optional<java.lang.String>getParentWorkflowId()java.lang.StringgetRunId()longgetRunStartedTimestampMillis()The time workflow run has started.io.temporal.api.common.v1.SearchAttributesgetSearchAttributes()This method is used to get raw proto serialized Search Attributes.java.lang.StringgetTaskQueue()java.time.DurationgetWorkflowExecutionTimeout()java.lang.StringgetWorkflowId()java.time.DurationgetWorkflowRunTimeout()java.lang.StringgetWorkflowType()
-
-
-
Method Detail
-
getNamespace
java.lang.String getNamespace()
-
getWorkflowId
java.lang.String getWorkflowId()
-
getRunId
java.lang.String getRunId()
-
getWorkflowType
java.lang.String getWorkflowType()
-
getContinuedExecutionRunId
java.util.Optional<java.lang.String> getContinuedExecutionRunId()
-
getTaskQueue
java.lang.String getTaskQueue()
-
getWorkflowRunTimeout
java.time.Duration getWorkflowRunTimeout()
-
getWorkflowExecutionTimeout
java.time.Duration getWorkflowExecutionTimeout()
-
getRunStartedTimestampMillis
long getRunStartedTimestampMillis()
The time workflow run has started. Note that this time can be different from the time workflow function started actual execution.
-
getSearchAttributes
@Nullable io.temporal.api.common.v1.SearchAttributes getSearchAttributes()
This method is used to get raw proto serialized Search Attributes.Consider using more user-friendly methods on
Workflowclass, includingWorkflow.getSearchAttributes(),Workflow.getSearchAttribute(String)orWorkflow.getSearchAttributeValues(String)instead of this method to access deserialized search attributes.- Returns:
- raw Search Attributes Protobuf entity, null if empty
-
getParentWorkflowId
java.util.Optional<java.lang.String> getParentWorkflowId()
-
getParentRunId
java.util.Optional<java.lang.String> getParentRunId()
-
getAttempt
int getAttempt()
-
getCronSchedule
java.lang.String getCronSchedule()
-
-