public enum RoadblockingType extends Enum<RoadblockingType>
Java class for RoadblockingType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RoadblockingType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ONLY_ONE"/>
<enumeration value="ONE_OR_MORE"/>
<enumeration value="AS_MANY_AS_POSSIBLE"/>
<enumeration value="ALL_ROADBLOCK"/>
<enumeration value="CREATIVE_SET"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALL_ROADBLOCK
All or none of the creatives from a line item will serve.
|
AS_MANY_AS_POSSIBLE
As many creatives from a line item as can fit on a page will serve.
|
CREATIVE_SET
A master/companion
CreativeSet roadblocking type. |
ONE_OR_MORE
Any number of creatives from a line item can serve together at a time.
|
ONLY_ONE
Only one creative from a line item can serve at a time.
|
| Modifier and Type | Method and Description |
|---|---|
static RoadblockingType |
fromValue(String v) |
String |
value() |
static RoadblockingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoadblockingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoadblockingType ONLY_ONE
public static final RoadblockingType ONE_OR_MORE
public static final RoadblockingType AS_MANY_AS_POSSIBLE
public static final RoadblockingType ALL_ROADBLOCK
public static final RoadblockingType CREATIVE_SET
CreativeSet roadblocking type.
A LineItemSummary.creativePlaceholders must be set accordingly.public static RoadblockingType[] values()
for (RoadblockingType c : RoadblockingType.values()) System.out.println(c);
public static RoadblockingType 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 RoadblockingType fromValue(String v)
Copyright © 2018. All Rights Reserved.