• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

temporalio / sdk-java / #347

31 Jul 2026 06:59PM UTC coverage: 68.148% (-0.03%) from 68.181%
#347

push

github

web-flow
NEXUS-485: Support Workflow Update as a Nexus Operation (#2945)

* NEXUS-485: Support Workflow Update as a Nexus Operation

* address comments, change signatures to newer

* address comments 2: add all workflow exec overloads

* address comments: log failed

7166 of 12554 branches covered (57.08%)

Branch coverage included in aggregate %.

118 of 296 new or added lines in 11 files covered. (39.86%)

28 existing lines in 7 files now uncovered.

29722 of 41575 relevant lines covered (71.49%)

0.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/temporal-sdk/src/main/java/io/temporal/nexus/CancelUpdateWorkflowInput.java
1
package io.temporal.nexus;
2

3
import io.temporal.common.Experimental;
4
import java.util.Objects;
5

6
/**
7
 * Input to {@link TemporalOperationHandler#cancelUpdateWorkflow} describing the workflow update to
8
 * cancel.
9
 */
10
@Experimental
11
public final class CancelUpdateWorkflowInput {
12

13
  private final String workflowId;
14
  private final String runId;
15
  private final String updateId;
16

NEW
17
  public CancelUpdateWorkflowInput(String workflowId, String runId, String updateId) {
×
NEW
18
    this.workflowId = Objects.requireNonNull(workflowId);
×
NEW
19
    this.runId = Objects.requireNonNull(runId);
×
NEW
20
    this.updateId = Objects.requireNonNull(updateId);
×
NEW
21
  }
×
22

23
  /** Returns the workflow ID extracted from the operation token. */
24
  public String getWorkflowId() {
NEW
25
    return workflowId;
×
26
  }
27

28
  /** Returns the run ID extracted from the operation token, or empty if not present. */
29
  public String getRunId() {
NEW
30
    return runId;
×
31
  }
32

33
  /** Returns the update ID extracted from the operation token. */
34
  public String getUpdateId() {
NEW
35
    return updateId;
×
36
  }
37
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc