Importance.java 900 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.cq.mobile.dps;

import java.util.HashMap;
import java.util.Map;

public enum Importance {
    LOW("low"),
    NORMAL("normal"),
    HIGH("high");
    
    private static Map<String, Importance> ENUM_BY_VALUE;
    private String value;

    private Importance(String value) {
        this.value = value;
    }

    public String getValue() {
        return this.value;
    }

    public static final boolean isImportance(String value) {
        return ENUM_BY_VALUE.containsKey(value);
    }

    public static final Importance getImportance(String value) {
        return ENUM_BY_VALUE.get(value);
    }

    static {
        ENUM_BY_VALUE = new HashMap<String, Importance>(Importance.values().length);
        for (Importance enumValue : Importance.values()) {
            ENUM_BY_VALUE.put(enumValue.getValue(), enumValue);
        }
    }
}