@Test public void testIsFinishedOnUploading() throws Exception { final IntegrationProcessStatus process = new IntegrationProcessStatus(new Status(UPLOADING.name(), "", ""), now(), now(), Collections.emptyMap()); assertThat(process.isFinished(), is(false)); }
@JsonIgnore public boolean isFinished() { return status != null && status.isFinished(); }
IntegrationProcessStatus { @JsonIgnore public boolean isFinished() { return status != null && status.isFinished(); } }
IntegrationProcessStatus { @JsonIgnore public boolean isFinished() { return status != null && status.isFinished(); } @JsonCreator protected  IntegrationProcessStatus(@JsonProperty("status") Status status,
                                       @JsonProperty("started") ZonedDateTime started,
                                       @JsonProperty("finished") ZonedDateTime finished,
                                       @JsonProperty("links") Map<String, String> links); }
IntegrationProcessStatus { @JsonIgnore public boolean isFinished() { return status != null && status.isFinished(); } @JsonCreator protected  IntegrationProcessStatus(@JsonProperty("status") Status status,
                                       @JsonProperty("started") ZonedDateTime started,
                                       @JsonProperty("finished") ZonedDateTime finished,
                                       @JsonProperty("links") Map<String, String> links); Status getStatus(); ZonedDateTime getStarted(); ZonedDateTime getFinished(); @JsonIgnore boolean isFinished(); @JsonIgnore boolean isFailed(); @JsonIgnore String getUri(); @JsonIgnore String getId(); @Override String toString(); }
IntegrationProcessStatus { @JsonIgnore public boolean isFinished() { return status != null && status.isFinished(); } @JsonCreator protected  IntegrationProcessStatus(@JsonProperty("status") Status status,
                                       @JsonProperty("started") ZonedDateTime started,
                                       @JsonProperty("finished") ZonedDateTime finished,
                                       @JsonProperty("links") Map<String, String> links); Status getStatus(); ZonedDateTime getStarted(); ZonedDateTime getFinished(); @JsonIgnore boolean isFinished(); @JsonIgnore boolean isFailed(); @JsonIgnore String getUri(); @JsonIgnore String getId(); @Override String toString(); static final String URI; }