Class ContinueAsNewOptions
java.lang.Object
io.temporal.workflow.ContinueAsNewOptions
This class contain overrides for continueAsNew call. Every field can be null, and it means that
the value of the option should be taken from the originating workflow run.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionContinueAsNewOptions(Duration workflowRunTimeout, String taskQueue, RetryOptions retryOptions, Duration workflowTaskTimeout, Map<String, Object> memo, Map<String, Object> searchAttributes, SearchAttributes typedSearchAttributes, List<ContextPropagator> contextPropagators, VersioningIntent versioningIntent, InitialVersioningBehavior initialVersioningBehavior) Deprecated.This constructor doesn't include all options. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContinueAsNewOptionsgetMemo()Deprecated.usegetSearchAttributes()instead.Deprecated.Worker Versioning is now deprecated please migrate to the Worker Deployment API.static ContinueAsNewOptions.Builderstatic ContinueAsNewOptions.BuildernewBuilder(ContinueAsNewOptions options)
-
Constructor Details
-
ContinueAsNewOptions
@Deprecated public ContinueAsNewOptions(@Nullable Duration workflowRunTimeout, @Nullable String taskQueue, @Nullable RetryOptions retryOptions, @Nullable Duration workflowTaskTimeout, @Nullable Map<String, Object> memo, @Nullable Map<String, Object> searchAttributes, @Nullable SearchAttributes typedSearchAttributes, @Nullable List<ContextPropagator> contextPropagators, @Nullable VersioningIntent versioningIntent, @Nullable InitialVersioningBehavior initialVersioningBehavior) Deprecated.This constructor doesn't include all options. Use the builder instead.
-
-
Method Details
-
newBuilder
-
newBuilder
-
getDefaultInstance
-
getWorkflowRunTimeout
-
getTaskQueue
-
getRetryOptions
-
getWorkflowTaskTimeout
-
getBackoffStartInterval
- Returns:
- the delay before the first workflow task of the continued run is scheduled, or null if unset.
-
getMemo
-
getSearchAttributes
Deprecated.usegetSearchAttributes()instead. -
getTypedSearchAttributes
-
getContextPropagators
-
getVersioningIntent
Deprecated.Worker Versioning is now deprecated please migrate to the Worker Deployment API. -
getInitialVersioningBehavior
- Returns:
- the initial versioning behavior for the first task of the new workflow run, or null if unset.
-