• 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

23.81
/src/main/java/com/box/sdkgen/managers/groups/GetGroupsQueryParams.java
1
package com.box.sdkgen.managers.groups;
2

3
import java.util.List;
4

5
public class GetGroupsQueryParams {
6

7
  public String filterTerm;
8

9
  public List<String> fields;
10

11
  public Long limit;
12

13
  public Long offset;
14

15
  public GetGroupsQueryParams() {}
1✔
16

NEW
17
  protected GetGroupsQueryParams(Builder builder) {
×
18
    this.filterTerm = builder.filterTerm;
×
19
    this.fields = builder.fields;
×
20
    this.limit = builder.limit;
×
21
    this.offset = builder.offset;
×
22
  }
×
23

24
  public String getFilterTerm() {
25
    return filterTerm;
1✔
26
  }
27

28
  public List<String> getFields() {
29
    return fields;
1✔
30
  }
31

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

36
  public Long getOffset() {
37
    return offset;
1✔
38
  }
39

NEW
40
  public static class Builder {
×
41

42
    protected String filterTerm;
43

44
    protected List<String> fields;
45

46
    protected Long limit;
47

48
    protected Long offset;
49

50
    public Builder filterTerm(String filterTerm) {
51
      this.filterTerm = filterTerm;
×
52
      return this;
×
53
    }
54

55
    public Builder fields(List<String> fields) {
56
      this.fields = fields;
×
57
      return this;
×
58
    }
59

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

65
    public Builder offset(Long offset) {
66
      this.offset = offset;
×
67
      return this;
×
68
    }
69

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

© 2026 Coveralls, Inc