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

org.odpi.openmetadata.governanceservers.openlineage.model.Scope Maven / Gradle / Ivy

Go to download

Provides the definitions that make up the APIs used by external components when communicating with the open lineage.

There is a newer version: 4.3
Show newest version
/* SPDX-License-Identifier: Apache 2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.governanceservers.openlineage.model;

public enum Scope {
    SOURCE_AND_DESTINATION("source-and-destination"),
    END_TO_END("end-to-end"),
    ULTIMATE_SOURCE("ultimate-source"),
    ULTIMATE_DESTINATION("ultimate-destination"),
    VERTICAL("vertical");

    private final String value;

    Scope(String s) {
        this.value = s;
    }

    public String getValue() {
        return value;
    }

    public static Scope fromString(String text) {
        for (Scope value : Scope.values()) {
            if (value.value.equals(text)) {
                return value;
            }
        }
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy