@Test public void testIsFailedOnNullCode() throws Exception { assertThat(new Status(null, "", "").isFailed(), is(false)); }
@JsonIgnore public boolean isFailed() { return ERROR.name().equalsIgnoreCase(code) || USER_ERROR.name().equalsIgnoreCase(code); }
Status { @JsonIgnore public boolean isFailed() { return ERROR.name().equalsIgnoreCase(code) || USER_ERROR.name().equalsIgnoreCase(code); } }
Status { @JsonIgnore public boolean isFailed() { return ERROR.name().equalsIgnoreCase(code) || USER_ERROR.name().equalsIgnoreCase(code); } @JsonCreator  Status(@JsonProperty("code") String code, @JsonProperty("detail") String detail,
           @JsonProperty("description") String description); }
Status { @JsonIgnore public boolean isFailed() { return ERROR.name().equalsIgnoreCase(code) || USER_ERROR.name().equalsIgnoreCase(code); } @JsonCreator  Status(@JsonProperty("code") String code, @JsonProperty("detail") String detail,
           @JsonProperty("description") String description); String getCode(); String getDetail(); String getDescription(); @JsonIgnore boolean isFinished(); @JsonIgnore boolean isFailed(); @Override String toString(); }
Status { @JsonIgnore public boolean isFailed() { return ERROR.name().equalsIgnoreCase(code) || USER_ERROR.name().equalsIgnoreCase(code); } @JsonCreator  Status(@JsonProperty("code") String code, @JsonProperty("detail") String detail,
           @JsonProperty("description") String description); String getCode(); String getDetail(); String getDescription(); @JsonIgnore boolean isFinished(); @JsonIgnore boolean isFailed(); @Override String toString();  }