public static enum Notification.MessageFormat extends Enum<Notification.MessageFormat>
Modifier and Type | Method and Description |
---|---|
static Notification.MessageFormat |
fromValue(String value) |
String |
toString() |
String |
value() |
static Notification.MessageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Notification.MessageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.MessageFormat HTML
public static final Notification.MessageFormat TEXT
public static Notification.MessageFormat[] values()
for (Notification.MessageFormat c : Notification.MessageFormat.values()) System.out.println(c);
public static Notification.MessageFormat 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 String toString()
toString
in class Enum<Notification.MessageFormat>
public String value()
public static Notification.MessageFormat fromValue(String value)
Copyright © 2016–2018. All rights reserved.