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

box / box-java-sdk-gen / #226

20 Jun 2025 03:14PM UTC coverage: 35.609% (-0.2%) from 35.816%
#226

push

github

web-flow
feat: Shorten builder names in Java (box/box-codegen#742) (#334)

367 of 1570 new or added lines in 984 files covered. (23.38%)

674 existing lines in 370 files now uncovered.

16125 of 45284 relevant lines covered (35.61%)

0.36 hits per line

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

30.43
/src/main/java/com/box/sdkgen/managers/workflows/GetWorkflowsQueryParams.java
1
package com.box.sdkgen.managers.workflows;
2

3
public class GetWorkflowsQueryParams {
4

5
  public final String folderId;
6

7
  public String triggerType;
8

9
  public Long limit;
10

11
  public String marker;
12

13
  public GetWorkflowsQueryParams(String folderId) {
1✔
14
    this.folderId = folderId;
1✔
15
  }
1✔
16

NEW
17
  protected GetWorkflowsQueryParams(Builder builder) {
×
18
    this.folderId = builder.folderId;
×
19
    this.triggerType = builder.triggerType;
×
20
    this.limit = builder.limit;
×
21
    this.marker = builder.marker;
×
22
  }
×
23

24
  public String getFolderId() {
25
    return folderId;
1✔
26
  }
27

28
  public String getTriggerType() {
29
    return triggerType;
1✔
30
  }
31

32
  public Long getLimit() {
33
    return limit;
1✔
34
  }
35

36
  public String getMarker() {
37
    return marker;
1✔
38
  }
39

40
  public static class Builder {
41

42
    protected final String folderId;
43

44
    protected String triggerType;
45

46
    protected Long limit;
47

48
    protected String marker;
49

NEW
50
    public Builder(String folderId) {
×
51
      this.folderId = folderId;
×
52
    }
×
53

54
    public Builder triggerType(String triggerType) {
55
      this.triggerType = triggerType;
×
56
      return this;
×
57
    }
58

59
    public Builder limit(Long limit) {
60
      this.limit = limit;
×
61
      return this;
×
62
    }
63

64
    public Builder marker(String marker) {
65
      this.marker = marker;
×
66
      return this;
×
67
    }
68

69
    public GetWorkflowsQueryParams build() {
70
      return new GetWorkflowsQueryParams(this);
×
71
    }
72
  }
73
}
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

© 2026 Coveralls, Inc