All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.databand.azkaban.FetchFlowExecutionRes Maven / Gradle / Ivy

There is a newer version: 1.0.26.1
Show newest version
/*
 * © 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