-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3836d07
commit 7ae9121
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
at_client/src/main/java/org/atsign/common/NotificationEnums.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package org.atsign.common; | ||
|
||
public class NotificationEnums { | ||
|
||
public enum Operation { | ||
UPDATE, DELETE, APPEND, REMOVE,; | ||
|
||
public String toString() { | ||
return this.name().toLowerCase(); | ||
} | ||
|
||
} | ||
|
||
public enum Priority { | ||
LOW, MEDIUM, HIGH,; | ||
|
||
public String toString() { | ||
return this.name().toLowerCase(); | ||
} | ||
|
||
} | ||
|
||
public enum Strategy { | ||
ALL, LATEST,; | ||
|
||
public String toString() { | ||
return this.name().toLowerCase(); | ||
} | ||
} | ||
|
||
public enum MessageType { | ||
KEY, TEXT,; | ||
|
||
public String toString() { | ||
return "MessageType." + this.name().toLowerCase(); | ||
} | ||
} | ||
} |