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

io.atlasmap.v2.ValidationScope Maven / Gradle / Ivy

There is a newer version: 2.5.2
Show newest version
package io.atlasmap.v2;

public enum ValidationScope {

    ALL("All"),
    DATA_SOURCE("DataSource"),
    MAPPING("Mapping"),
    LOOKUP_TABLE("LookupTable"),
    CONSTANT("Constant"),
    PROPERTY("Property");

    private final String value;

    ValidationScope(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static ValidationScope fromValue(String v) {
        for (ValidationScope c: ValidationScope.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy