public static enum Tracker.NotificationType extends java.lang.Enum<Tracker.NotificationType>
Enum Constant and Description |
---|
INSIDE |
OUTSIDE |
TRANSITION |
Modifier and Type | Method and Description |
---|---|
static Tracker.NotificationType |
get(java.lang.String stateString)
Convert a state string from database into INSIDE/OUTSIDE.
|
char |
getDbNotification()
The database command to get this type of notification
|
java.lang.String |
getStateString()
The state string in a notification that corresponds to this state.
|
static Tracker.NotificationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tracker.NotificationType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final Tracker.NotificationType INSIDE
public static final Tracker.NotificationType OUTSIDE
public static final Tracker.NotificationType TRANSITION
public static Tracker.NotificationType[] values()
for (Tracker.NotificationType c : Tracker.NotificationType.values()) System.out.println(c);
public static Tracker.NotificationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic char getDbNotification()
public java.lang.String getStateString()
public static Tracker.NotificationType get(java.lang.String stateString)
stateString
- the string to convert