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

uber / cadence-java-client / 2490

13 Aug 2024 05:39PM CUT coverage: 61.99% (-0.03%) from 62.021%
2490

push

buildkite

web-flow
Removing fossa as it is migrated to snyk (#919)

12090 of 19503 relevant lines covered (61.99%)

0.62 hits per line

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

0.0
/src/main/java/com/uber/cadence/internal/common/TerminateWorkflowExecutionParameters.java
1
/*
2
 *  Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
 *
4
 *  Modifications copyright (C) 2017 Uber Technologies, Inc.
5
 *
6
 *  Licensed under the Apache License, Version 2.0 (the "License"). You may not
7
 *  use this file except in compliance with the License. A copy of the License is
8
 *  located at
9
 *
10
 *  http://aws.amazon.com/apache2.0
11
 *
12
 *  or in the "license" file accompanying this file. This file is distributed on
13
 *  an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
 *  express or implied. See the License for the specific language governing
15
 *  permissions and limitations under the License.
16
 */
17

18
package com.uber.cadence.internal.common;
19

20
import com.uber.cadence.WorkflowExecution;
21

22
public class TerminateWorkflowExecutionParameters {
23

24
  private WorkflowExecution workflowExecution;
25

26
  private String reason;
27

28
  private byte[] details;
29

30
  public TerminateWorkflowExecutionParameters() {}
×
31

32
  public TerminateWorkflowExecutionParameters(
33
      WorkflowExecution workflowExecution, String reason, byte[] details) {
×
34
    this.workflowExecution = workflowExecution;
×
35
    this.reason = reason;
×
36
    this.details = details;
×
37
  }
×
38

39
  public WorkflowExecution getWorkflowExecution() {
40
    return workflowExecution;
×
41
  }
42

43
  public void setWorkflowExecution(WorkflowExecution workflowExecution) {
44
    this.workflowExecution = workflowExecution;
×
45
  }
×
46

47
  public TerminateWorkflowExecutionParameters withWorkflowExecution(
48
      WorkflowExecution workflowExecution) {
49
    this.workflowExecution = workflowExecution;
×
50
    return this;
×
51
  }
52

53
  public String getReason() {
54
    return reason;
×
55
  }
56

57
  public void setReason(String reason) {
58
    this.reason = reason;
×
59
  }
×
60

61
  public TerminateWorkflowExecutionParameters withReason(String reason) {
62
    this.reason = reason;
×
63
    return this;
×
64
  }
65

66
  public byte[] getDetails() {
67
    return details;
×
68
  }
69

70
  public void setDetails(byte[] details) {
71
    this.details = details;
×
72
  }
×
73

74
  public TerminateWorkflowExecutionParameters withDetails(byte[] details) {
75
    this.details = details;
×
76
    return this;
×
77
  }
78
}
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