| Enum Constant and Description |
|---|
ACTIVE |
DISABLED |
EXPIRED |
HIDDEN |
SCHEDULED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActive() |
static AdStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdStatus ACTIVE
public static final AdStatus SCHEDULED
public static final AdStatus EXPIRED
public static final AdStatus HIDDEN
public static final AdStatus DISABLED
public static AdStatus[] values()
for (AdStatus c : AdStatus.values()) System.out.println(c);
public static AdStatus 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 boolean isActive()