public static enum VendorSegment.SegmentType extends Enum<VendorSegment.SegmentType>
| Enum Constant and Description |
|---|
ALLOWED_VENDORS |
CORE |
DISCLOSED_VENDORS |
PUBLISHER_TC |
| Modifier and Type | Method and Description |
|---|---|
static VendorSegment.SegmentType |
byId(long id) |
long |
id() |
static VendorSegment.SegmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VendorSegment.SegmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VendorSegment.SegmentType CORE
public static final VendorSegment.SegmentType DISCLOSED_VENDORS
public static final VendorSegment.SegmentType ALLOWED_VENDORS
public static final VendorSegment.SegmentType PUBLISHER_TC
public static VendorSegment.SegmentType[] values()
for (VendorSegment.SegmentType c : VendorSegment.SegmentType.values()) System.out.println(c);
public static VendorSegment.SegmentType 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 long id()
public static VendorSegment.SegmentType byId(long id)
Copyright © 2020. All rights reserved.