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

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

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

public enum FieldStatus {

    SUPPORTED("Supported"),
    UNSUPPORTED("Unsupported"),
    CACHED("Cached"),
    ERROR("Error"),
    NOT_FOUND("NotFound"),
    BLACK_LIST("BlackList");
    private final String value;

    FieldStatus(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy