travis-ci
1 of 1 new or added line in 1 file covered. (100.0%)
1548 of 2381 relevant lines covered (65.01%)
9.18 hits per line
1 |
package com.redhat.lightblue.client.enums; |
|
2 | ||
3 |
public enum MetadataStatus { |
20 only 852.2 ✔ |
4 |
ACTIVE("active"), DISABLED("disabled"), DEPRECATED("deprecated"); |
20 only 852.2 ✔ |
5 | ||
6 |
private final String status; |
|
7 | ||
8 |
public String getStatus() { |
|
9 |
return status;
|
23 only 852.2 ✔ |
10 |
} |
|
11 | ||
12 |
private MetadataStatus(String status) { |
60 only 852.2 ✔ |
13 |
this.status = status;
|
60 only 852.2 ✔ |
14 |
} |
60 only 852.2 ✔ |
15 | ||
16 |
@Override
|
|
17 |
public String toString() { |
|
18 |
return getStatus();
|
23 only 852.2 ✔ |
19 |
} |
|
20 |
} |