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