ai.databand.azkaban.FetchFlowExecutionRes Maven / Gradle / Ivy
/*
* © Copyright Databand.ai, an IBM Company 2022
*/
package ai.databand.azkaban;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class FetchFlowExecutionRes {
private String status;
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public boolean isSuccess() {
return "SUCCEEDED".equalsIgnoreCase(status);
}
public boolean isFailed() {
return "FAILED".equalsIgnoreCase(status);
}
public boolean isCompleted() {
return isSuccess() || isFailed();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy