| Enum Constant and Description |
|---|
ACTIVE
Persisted status.
|
DISABLED
Calculated status (never persisted)
|
DRAFT
Persisted status.
|
EXPIRED
Calculated status (never persisted) according to the publication period.
|
HIDDEN
Persisted status.
|
PENDING
Persisted status.
|
SCHEDULED
Calculated status (never persisted) according to the publication period.
|
| 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 DRAFT
public static final AdStatus PENDING
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()