utility-service http://jira.mfd.msk:8088/browse/CLS-339 Notification priority enum
This commit is contained in:
parent
baa7492e99
commit
4fa1cbf32a
1 changed files with 23 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
||||||
|
package ru.spcex.platform.enumeration;
|
||||||
|
|
||||||
|
import ru.spcex.platform.utils.enumeration.IEnumKey;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Для Notification.priority
|
||||||
|
* priority_dictionary
|
||||||
|
*/
|
||||||
|
public enum Priority implements IEnumKey {
|
||||||
|
HIGH("HIGH"), // Высокий
|
||||||
|
LOW("LOW"); // Низкий
|
||||||
|
|
||||||
|
private final String key;
|
||||||
|
|
||||||
|
Priority(String key) {
|
||||||
|
this.key = key;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getKey() {
|
||||||
|
return key;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue