Class 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.
    • 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

      • 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.
      • getTypedSearchAttributes

        @Nullable
        public SearchAttributes getTypedSearchAttributes()
      • getContextPropagators

        @Nullable
        public java.util.List<ContextPropagator> getContextPropagators()