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

GuillaumeDmns / website-back / #7

20 Jan 2025 10:26PM UTC coverage: 0.0%. Remained the same
#7

push

GuillaumeDmns
Merge branch 'feat/navitia-placesplaces'

0 of 180 branches covered (0.0%)

Branch coverage included in aggregate %.

0 of 857 new or added lines in 37 files covered. (0.0%)

0 of 3154 relevant lines covered (0.0%)

0.0 hits per line

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

0.0
/src/main/java/com/gdamiens/website/idfm/navitia/StatusEnum.java
1
package com.gdamiens.website.idfm.navitia;
2

3
import com.fasterxml.jackson.annotation.JsonProperty;
4

NEW
5
public enum StatusEnum {
×
6

NEW
7
    @JsonProperty("unavailable")
×
8
    UNAVAILABLE("unavailable"),
9

NEW
10
    @JsonProperty("closed")
×
11
    CLOSED("closed"),
12

NEW
13
    @JsonProperty("open")
×
14
    OPEN("open");
15

16
    private String value;
17

NEW
18
    StatusEnum(String value) {
×
NEW
19
        this.value = value;
×
NEW
20
    }
×
21

22
    public String getValue() {
NEW
23
        return value;
×
24
    }
25

26
    @Override
27
    public String toString() {
NEW
28
        return String.valueOf(value);
×
29
    }
30

31
    public static StatusEnum fromValue(String text) {
NEW
32
        for (StatusEnum b : StatusEnum.values()) {
×
NEW
33
            if (String.valueOf(b.value).equals(text)) {
×
NEW
34
                return b;
×
35
            }
36
        }
NEW
37
        return null;
×
38
    }
39
}
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