public enum AdIntegrationKind extends Enum<AdIntegrationKind>
Ad
.Enum Constant and Description |
---|
DEFAULT
The ad has no specified integration type.
|
FREEWHEEL
The ad is of integration type FreeWheel.
|
GOOGLE_IMA
The ad is of integration type Google IMA.
|
SPOTX
The ad is of integration type SpotX.
|
THEO
The ad is of integration type THEO.
|
Modifier and Type | Method and Description |
---|---|
static AdIntegrationKind |
from(String type)
Converts a textual representation of the integration to an actual
AdIntegrationKind instance. |
String |
getType()
The kind of the integration.
|
String |
toString() |
static AdIntegrationKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdIntegrationKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdIntegrationKind DEFAULT
public static final AdIntegrationKind THEO
public static final AdIntegrationKind GOOGLE_IMA
public static final AdIntegrationKind SPOTX
public static final AdIntegrationKind FREEWHEEL
public static AdIntegrationKind[] values()
for (AdIntegrationKind c : AdIntegrationKind.values()) System.out.println(c);
public static AdIntegrationKind 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 static AdIntegrationKind from(String type)
AdIntegrationKind
instance.type
- The textual representation of the integration. (Nullable)
- For possible values, see AdIntegrationKind
.
DEFAULT
public String getType()
- For more consistency recommended to use Enum.name()
.
public String toString()
toString
in class Enum<AdIntegrationKind>