Serializable
, Comparable<NotificationSettings.Level>
public static enum NotificationSettings.Level extends Enum<NotificationSettings.Level>
Enum Constant | Description |
---|---|
CUSTOM |
|
DISABLED |
|
GLOBAL |
|
MENTION |
|
PARTICIPATING |
|
WATCH |
Modifier and Type | Method | Description |
---|---|---|
static NotificationSettings.Level |
forValue(String value) |
|
String |
toString() |
|
String |
toValue() |
|
static NotificationSettings.Level |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static NotificationSettings.Level[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationSettings.Level DISABLED
public static final NotificationSettings.Level PARTICIPATING
public static final NotificationSettings.Level WATCH
public static final NotificationSettings.Level GLOBAL
public static final NotificationSettings.Level MENTION
public static final NotificationSettings.Level CUSTOM
public static NotificationSettings.Level[] values()
for (NotificationSettings.Level c : NotificationSettings.Level.values()) System.out.println(c);
public static NotificationSettings.Level valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static NotificationSettings.Level forValue(String value)
public String toValue()
public String toString()
toString
in class Enum<NotificationSettings.Level>
Copyright © 2018. All rights reserved.