public enum CampaignType extends java.lang.Enum<CampaignType>
| Enum Constant and Description |
|---|
AB |
LANDING_PAGE |
| Modifier and Type | Method and Description |
|---|---|
static CampaignType |
fromString(java.lang.String type)
Creates an object of this type based on the string representation of a campaign's type
|
java.lang.String |
getType()
Retrieve a string representation of this campaign type
|
java.lang.String |
getTypeLabel() |
static CampaignType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CampaignType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CampaignType AB
public static final CampaignType LANDING_PAGE
public static CampaignType[] values()
for (CampaignType c : CampaignType.values()) System.out.println(c);
public static CampaignType 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 java.lang.String getType()
Stringpublic java.lang.String getTypeLabel()
String representing the label of the campaign typepublic static CampaignType fromString(java.lang.String type)
type - the type of the campaign, in String format - "ab" or "landingPage"CampaignType object or null if the campaign type is not defined"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"