Files
JPushover11/src/main/java/de/svenkubiak/jpushover/enums/Constants.java

30 lines
543 B
Java
Raw Normal View History

2015-01-07 13:16:55 +01:00
package de.svenkubiak.jpushover.enums;
2015-01-08 08:12:55 +01:00
/**
*
* @author svenkubiak
*
*/
2015-01-07 13:16:55 +01:00
public enum Constants {
PUSHOVER_URL("https://api.pushover.net/1/messages.json"),
MESSAGE("message"),
TITLE("title"),
DEVICE("device"),
USER("user"),
TOKEN("token"),
SOUND("sound"),
PRIORITY("priority"),
TIMESTAMP("timestamp"),
URL("url"),
2015-01-07 20:11:23 +01:00
URLTITLE("urltitle");
2015-01-07 13:16:55 +01:00
private final String value;
Constants (String value) {
this.value = value;
}
2015-01-07 20:11:23 +01:00
public String get() {
2015-01-07 13:16:55 +01:00
return this.value;
}
}