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

temporalio / sdk-java / #169

pending completion
#169

push

github-actions

web-flow
Remove use of deprecated API (#1758)

4 of 4 new or added lines in 1 file covered. (100.0%)

17345 of 21558 relevant lines covered (80.46%)

0.8 hits per line

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

53.85
/temporal-sdk/src/main/java/io/temporal/common/interceptors/WorkflowClientCallsInterceptorBase.java
1
/*
2
 * Copyright (C) 2022 Temporal Technologies, Inc. All Rights Reserved.
3
 *
4
 * Copyright (C) 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5
 *
6
 * Modifications copyright (C) 2017 Uber Technologies, Inc.
7
 *
8
 * Licensed under the Apache License, Version 2.0 (the "License");
9
 * you may not use this material except in compliance with the License.
10
 * You may obtain a copy of the License at
11
 *
12
 *   http://www.apache.org/licenses/LICENSE-2.0
13
 *
14
 * Unless required by applicable law or agreed to in writing, software
15
 * distributed under the License is distributed on an "AS IS" BASIS,
16
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
 * See the License for the specific language governing permissions and
18
 * limitations under the License.
19
 */
20

21
package io.temporal.common.interceptors;
22

23
import java.util.concurrent.TimeoutException;
24

25
/** Convenience base class for {@link WorkflowClientCallsInterceptor} implementations. */
26
public class WorkflowClientCallsInterceptorBase implements WorkflowClientCallsInterceptor {
27

28
  private final WorkflowClientCallsInterceptor next;
29

30
  public WorkflowClientCallsInterceptorBase(WorkflowClientCallsInterceptor next) {
1✔
31
    this.next = next;
1✔
32
  }
1✔
33

34
  @Override
35
  public WorkflowStartOutput start(WorkflowStartInput input) {
36
    return next.start(input);
1✔
37
  }
38

39
  @Override
40
  public WorkflowSignalOutput signal(WorkflowSignalInput input) {
41
    return next.signal(input);
×
42
  }
43

44
  @Override
45
  public WorkflowSignalWithStartOutput signalWithStart(WorkflowSignalWithStartInput input) {
46
    return next.signalWithStart(input);
1✔
47
  }
48

49
  @Override
50
  public <R> GetResultOutput<R> getResult(GetResultInput<R> input) throws TimeoutException {
51
    return next.getResult(input);
1✔
52
  }
53

54
  @Override
55
  public <R> GetResultAsyncOutput<R> getResultAsync(GetResultInput<R> input) {
56
    return next.getResultAsync(input);
×
57
  }
58

59
  @Override
60
  public <R> QueryOutput<R> query(QueryInput<R> input) {
61
    return next.query(input);
1✔
62
  }
63

64
  @Override
65
  public <R> UpdateOutput<R> update(UpdateInput<R> input) {
66
    return next.update(input);
×
67
  }
68

69
  @Override
70
  public <R> UpdateAsyncOutput<R> updateAsync(UpdateInput<R> input) {
71
    return next.updateAsync(input);
×
72
  }
73

74
  @Override
75
  public CancelOutput cancel(CancelInput input) {
76
    return next.cancel(input);
×
77
  }
78

79
  @Override
80
  public TerminateOutput terminate(TerminateInput input) {
81
    return next.terminate(input);
×
82
  }
83
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc