Skip to content

Commit

Permalink
New Update-with-Start API (#2337)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanos authored Dec 6, 2024
1 parent c7fcf12 commit 9ac1af3
Show file tree
Hide file tree
Showing 20 changed files with 1,905 additions and 1,117 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,13 @@ public void validate() {
}
}

void validateWaitForCompleted() {
if (waitForStage != null && waitForStage != WorkflowUpdateStage.COMPLETED) {
throw new IllegalArgumentException(
"waitForStage must be unspecified or " + WorkflowUpdateStage.COMPLETED);
}
}

public static final class Builder<T> {
private String updateName;
private String updateId;
Expand Down
Loading

0 comments on commit 9ac1af3

Please sign in to comment.