public enum EmailTemplateType extends Enum<EmailTemplateType>
Java class for EmailTemplateType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EmailTemplateType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="text"/>
<enumeration value="html"/>
<enumeration value="custom"/>
<enumeration value="visualforce"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CUSTOM |
HTML |
TEXT |
VISUALFORCE |
| Modifier and Type | Method and Description |
|---|---|
static EmailTemplateType |
fromValue(String v) |
String |
value() |
static EmailTemplateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmailTemplateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmailTemplateType TEXT
public static final EmailTemplateType HTML
public static final EmailTemplateType CUSTOM
public static final EmailTemplateType VISUALFORCE
public static EmailTemplateType[] values()
for (EmailTemplateType c : EmailTemplateType.values()) System.out.println(c);
public static EmailTemplateType 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 value()
public static EmailTemplateType fromValue(String v)
Copyright © 2016. All rights reserved.