Package io.temporal.workflow
Class ContinueAsNewOptions
- java.lang.Object
-
- io.temporal.workflow.ContinueAsNewOptions
-
public final class ContinueAsNewOptions extends java.lang.Object
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 Modifier and Type Class Description static class
ContinueAsNewOptions.Builder
-
Constructor Summary
Constructors Constructor Description ContinueAsNewOptions(java.time.Duration workflowRunTimeout, java.lang.String taskQueue, java.time.Duration workflowTaskTimeout, java.util.Map<java.lang.String,java.lang.Object> memo, java.util.Map<java.lang.String,java.lang.Object> searchAttributes, SearchAttributes typedSearchAttributes, java.util.List<ContextPropagator> contextPropagators, VersioningIntent versioningIntent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<ContextPropagator>
getContextPropagators()
static ContinueAsNewOptions
getDefaultInstance()
java.util.Map<java.lang.String,java.lang.Object>
getMemo()
java.util.Map<java.lang.String,java.lang.Object>
getSearchAttributes()
Deprecated.usegetSearchAttributes()
instead.java.lang.String
getTaskQueue()
SearchAttributes
getTypedSearchAttributes()
VersioningIntent
getVersioningIntent()
java.time.Duration
getWorkflowRunTimeout()
java.time.Duration
getWorkflowTaskTimeout()
static ContinueAsNewOptions.Builder
newBuilder()
static ContinueAsNewOptions.Builder
newBuilder(ContinueAsNewOptions options)
-
-
-
Constructor Detail
-
ContinueAsNewOptions
public ContinueAsNewOptions(@Nullable java.time.Duration workflowRunTimeout, @Nullable java.lang.String taskQueue, @Nullable java.time.Duration workflowTaskTimeout, @Nullable java.util.Map<java.lang.String,java.lang.Object> memo, @Nullable java.util.Map<java.lang.String,java.lang.Object> searchAttributes, @Nullable SearchAttributes typedSearchAttributes, @Nullable java.util.List<ContextPropagator> contextPropagators, @Nullable VersioningIntent versioningIntent)
-
-
Method Detail
-
newBuilder
public static ContinueAsNewOptions.Builder newBuilder()
-
newBuilder
public static ContinueAsNewOptions.Builder newBuilder(ContinueAsNewOptions options)
-
getDefaultInstance
public static ContinueAsNewOptions getDefaultInstance()
-
getWorkflowRunTimeout
@Nullable public java.time.Duration getWorkflowRunTimeout()
-
getTaskQueue
@Nullable public java.lang.String getTaskQueue()
-
getWorkflowTaskTimeout
@Nullable public java.time.Duration getWorkflowTaskTimeout()
-
getMemo
@Nullable public java.util.Map<java.lang.String,java.lang.Object> getMemo()
-
getSearchAttributes
@Deprecated @Nullable public java.util.Map<java.lang.String,java.lang.Object> getSearchAttributes()
Deprecated.usegetSearchAttributes()
instead.
-
getTypedSearchAttributes
@Nullable public SearchAttributes getTypedSearchAttributes()
-
getContextPropagators
@Nullable public java.util.List<ContextPropagator> getContextPropagators()
-
getVersioningIntent
@Nullable public VersioningIntent getVersioningIntent()
-
-