File tree Expand file tree Collapse file tree
temporal-sdk/src/main/java/io/temporal Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121package io .temporal .common ;
2222
23+ import io .temporal .worker .WorkerDeploymentOptions ;
24+
2325/** Specifies when a workflow might move from a worker of one Build Id to another. */
2426@ Experimental
2527public enum VersioningBehavior {
2628 /**
2729 * An unspecified versioning behavior. By default, workers opting into worker versioning will be
28- * required to specify a behavior. TODO: Link to documentation.
30+ * required to specify a behavior. See {@link
31+ * io.temporal.worker.WorkerOptions.Builder#setDeploymentOptions(WorkerDeploymentOptions)}.
2932 */
3033 VERSIONING_BEHAVIOR_UNSPECIFIED ,
3134 /** The workflow will be pinned to the current Build ID unless manually moved. */
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ public Builder setVersion(WorkerDeploymentVersion version) {
5555 }
5656
5757 /**
58- * Provides a default Versioning Behavior to workflows that do not set one with the TODO: Link
59- * to annotation
58+ * Provides a default Versioning Behavior to workflows that do not set one with the {@link
59+ * io.temporal.workflow.WorkflowVersioningBehavior} annotation.
6060 *
6161 * <p>NOTE: When the Deployment-based Worker Versioning feature is on, and default versioning
6262 * behavior is unspecified, workflows that do not set the Versioning Behavior will fail at
You can’t perform that action at this time.
0 commit comments