public enum CardCategory extends java.lang.Enum<CardCategory>
Enum Constant and Description |
---|
ADVERTISING |
ANNOUNCEMENTS |
NEWS |
NO_CATEGORY |
SOCIAL |
Modifier and Type | Method and Description |
---|---|
static CardCategory |
get(java.lang.String value) |
static java.util.EnumSet<CardCategory> |
getAllCategories() |
static CardCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardCategory ADVERTISING
public static final CardCategory ANNOUNCEMENTS
public static final CardCategory NEWS
public static final CardCategory SOCIAL
public static final CardCategory NO_CATEGORY
public static CardCategory[] values()
for (CardCategory c : CardCategory.values()) System.out.println(c);
public static CardCategory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CardCategory get(java.lang.String value)
public static java.util.EnumSet<CardCategory> getAllCategories()