Importance.java
900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* 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);
}
}
}