• 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

78.57
/temporal-sdk/src/main/java/io/temporal/common/interceptors/WorkflowInboundCallsInterceptorBase.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 javax.annotation.Nonnull;
24

25
/** Convenience base class for WorkflowInboundCallsInterceptor implementations. */
26
public class WorkflowInboundCallsInterceptorBase implements WorkflowInboundCallsInterceptor {
27
  private final WorkflowInboundCallsInterceptor next;
28

29
  public WorkflowInboundCallsInterceptorBase(WorkflowInboundCallsInterceptor next) {
1✔
30
    this.next = next;
1✔
31
  }
1✔
32

33
  @Override
34
  public void init(WorkflowOutboundCallsInterceptor outboundCalls) {
35
    next.init(outboundCalls);
1✔
36
  }
1✔
37

38
  @Override
39
  public WorkflowOutput execute(WorkflowInput input) {
40
    return next.execute(input);
1✔
41
  }
42

43
  @Override
44
  public void handleSignal(SignalInput input) {
45
    next.handleSignal(input);
1✔
46
  }
1✔
47

48
  @Override
49
  public QueryOutput handleQuery(QueryInput input) {
50
    return next.handleQuery(input);
1✔
51
  }
52

53
  @Override
54
  public void validateUpdate(UpdateInput input) {
55
    next.validateUpdate(input);
×
56
  }
×
57

58
  @Override
59
  public UpdateOutput executeUpdate(UpdateInput input) {
60
    return next.executeUpdate(input);
×
61
  }
62

63
  @Nonnull
64
  @Override
65
  public Object newWorkflowMethodThread(Runnable runnable, String name) {
66
    return next.newWorkflowMethodThread(runnable, name);
1✔
67
  }
68

69
  @Nonnull
70
  @Override
71
  public Object newCallbackThread(Runnable runnable, String name) {
72
    return next.newCallbackThread(runnable, name);
1✔
73
  }
74
}
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