net.pushover.client.MessagePriority Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pushover-client Show documentation
Show all versions of pushover-client Show documentation
A fork of the standard pushover client for java containing up to date features
package net.pushover.client;
/**
* Enumeration to represent the priority of a message
*/
public enum MessagePriority {
LOWEST(-2), LOW(-1), QUIET(-1), NORMAL(0), HIGH(1), EMERGENCY(2);
MessagePriority(int priority) {
this.priority = priority;
}
private final int priority;
public int getPriority() {
return priority;
}
@Override
public String toString() {
return String.valueOf(this.priority);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy