Package io.temporal.client
Class WorkflowOptions
- java.lang.Object
-
- io.temporal.client.WorkflowOptions
-
public final class WorkflowOptions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowOptions.Builder
-
Method Summary
-
-
-
Method Detail
-
newBuilder
public static WorkflowOptions.Builder newBuilder()
-
newBuilder
public static WorkflowOptions.Builder newBuilder(WorkflowOptions options)
-
getDefaultInstance
public static WorkflowOptions getDefaultInstance()
-
merge
public static WorkflowOptions merge(MethodRetry methodRetry, CronSchedule cronSchedule, WorkflowOptions o)
-
getWorkflowId
public java.lang.String getWorkflowId()
-
getWorkflowIdReusePolicy
public io.temporal.api.enums.v1.WorkflowIdReusePolicy getWorkflowIdReusePolicy()
-
getWorkflowRunTimeout
public java.time.Duration getWorkflowRunTimeout()
-
getWorkflowExecutionTimeout
public java.time.Duration getWorkflowExecutionTimeout()
-
getWorkflowTaskTimeout
public java.time.Duration getWorkflowTaskTimeout()
-
getTaskQueue
public java.lang.String getTaskQueue()
-
getRetryOptions
public RetryOptions getRetryOptions()
-
getCronSchedule
public java.lang.String getCronSchedule()
-
getMemo
public java.util.Map<java.lang.String,java.lang.Object> getMemo()
-
getSearchAttributes
@Deprecated public java.util.Map<java.lang.String,?> getSearchAttributes()
Deprecated.usegetTypedSearchAttributes()
instead.
-
getTypedSearchAttributes
public SearchAttributes getTypedSearchAttributes()
-
getContextPropagators
@Nullable public java.util.List<ContextPropagator> getContextPropagators()
- Returns:
- the list of context propagators to use during this workflow. This list overrides the
list specified on
WorkflowClientOptions.getContextPropagators()
,null
means no overriding
-
isDisableEagerExecution
public boolean isDisableEagerExecution()
-
toBuilder
public WorkflowOptions.Builder toBuilder()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-