Skip to content

Commit 0e6eefd

Browse files
committed
TODO fix
1 parent 1c52169 commit 0e6eefd

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

temporal-sdk/src/main/java/io/temporal/common/VersioningBehavior.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@
2020

2121
package 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
2527
public 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. */

temporal-sdk/src/main/java/io/temporal/worker/WorkerDeploymentOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)