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

com.atlan.model.enums.AtlanWorkflowPhase Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
// Generated by delombok at Wed Oct 16 22:16:04 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
   Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.enums;

import com.fasterxml.jackson.annotation.JsonValue;

public enum AtlanWorkflowPhase implements AtlanEnum {
    SUCCESS("Succeeded"), RUNNING("Running"), FAILED("Failed"), ERROR("Error"), PENDING("Pending");
    @JsonValue
    private final String value;

    AtlanWorkflowPhase(String value) {
        this.value = value;
    }

    public static AtlanWorkflowPhase fromValue(String value) {
        for (AtlanWorkflowPhase b : AtlanWorkflowPhase.values()) {
            if (b.value.equals(value)) {
                return b;
            }
        }
        return null;
    }

    @Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getValue() {
        return this.value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy