Skip to content

Commit

Permalink
feat: NotificationEnums class
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyTubongbanua committed Oct 20, 2022
1 parent 3836d07 commit 7ae9121
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions at_client/src/main/java/org/atsign/common/NotificationEnums.java
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();
}
}
}

0 comments on commit 7ae9121

Please sign in to comment.