public enum PostContent extends Enum<PostContent>
| Enum Constant and Description |
|---|
ONLY_TEXT |
TEXT_AND_ATTACHMENTS |
TEXT_AND_LINK |
| Modifier and Type | Method and Description |
|---|---|
static PostContent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostContent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostContent ONLY_TEXT
public static final PostContent TEXT_AND_LINK
public static final PostContent TEXT_AND_ATTACHMENTS
public static PostContent[] values()
for (PostContent c : PostContent.values()) System.out.println(c);
public static PostContent 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 © 2016. All Rights Reserved.