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