public enum TrialStatus extends Enum<TrialStatus>
Java class for TrialStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TrialStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="CREATING"/>
<enumeration value="ACTIVE"/>
<enumeration value="PROMOTING"/>
<enumeration value="PROMOTED"/>
<enumeration value="ARCHIVED"/>
<enumeration value="CREATION_FAILED"/>
<enumeration value="PROMOTE_FAILED"/>
<enumeration value="GRADUATED"/>
<enumeration value="HALTED"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE
The trial campaign is fully created.
|
ARCHIVED
The advertiser archived the campaign trial.
|
CREATING
The trial campaign is being created.
|
CREATION_FAILED
The trial campaign failed to create.
|
GRADUATED
The advertiser has graduated the trial campaign to a standalone campaign,
existing independently of the trial.
|
HALTED
The advertiser has halted the trial.
|
PROMOTE_FAILED
The promotion failed after it was partially applied.
|
PROMOTED
The process to merge changes in the trial back to the original campaign has
completedly successfully.
|
PROMOTING
The advertiser requested to merge changes in the trial back into the original
campaigns.
|
UNKNOWN
Invalid status.
|
| Modifier and Type | Method and Description |
|---|---|
static TrialStatus |
fromValue(String v) |
String |
value() |
static TrialStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrialStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrialStatus UNKNOWN
public static final TrialStatus CREATING
public static final TrialStatus ACTIVE
public static final TrialStatus PROMOTING
public static final TrialStatus PROMOTED
public static final TrialStatus ARCHIVED
public static final TrialStatus CREATION_FAILED
public static final TrialStatus PROMOTE_FAILED
public static final TrialStatus GRADUATED
public static final TrialStatus HALTED
public static TrialStatus[] values()
for (TrialStatus c : TrialStatus.values()) System.out.println(c);
public static TrialStatus 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 nullpublic String value()
public static TrialStatus fromValue(String v)
Copyright © 2023. All rights reserved.