public enum CBCampaignType extends java.lang.Enum<CBCampaignType>
Enum Constant and Description |
---|
HTML
Show an html styled campaign
|
IMAGE
Show an image brochure
|
URL
Show a web page
|
VIDEO
Show a video campaign
|
Modifier and Type | Method and Description |
---|---|
static CBCampaignType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CBCampaignType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CBCampaignType IMAGE
public static final CBCampaignType VIDEO
public static final CBCampaignType HTML
public static final CBCampaignType URL
public static CBCampaignType[] values()
for (CBCampaignType c : CBCampaignType.values()) System.out.println(c);
public static CBCampaignType 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 null