We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ecd6fe commit e93773aCopy full SHA for e93773a
src/main/java/com/cisco/trex/stateful/model/ServerStatus.java
@@ -29,7 +29,7 @@ public enum State {
29
private int epoch;
30
31
@JsonProperty("state")
32
- private int state;
+ private State state;
33
34
@JsonProperty("state_profile")
35
private Map<String, State> stateProfile;
@@ -45,12 +45,12 @@ public void setEpoch(int epoch) {
45
}
46
47
48
- public int getState() {
+ public State getState() {
49
return state;
50
51
52
53
- public void setState(int state) {
+ public void setState(State state) {
54
this.state = state;
55
56
0 commit comments