All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.pushover.client.MessagePriority Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
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