public enum PageStatus extends Enum<PageStatus>
| Enum Constant and Description |
|---|
SCHEDULED_ACTIVATION |
SCHEDULED_DEACTIVATION |
| Modifier and Type | Method and Description |
|---|---|
static PageStatus |
getStatus(String statusCssValue)
Returns PageStatus based on the provided CSS value
|
String |
getStatusCss() |
static PageStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageStatus SCHEDULED_ACTIVATION
public static final PageStatus SCHEDULED_DEACTIVATION
public static PageStatus[] values()
for (PageStatus c : PageStatus.values()) System.out.println(c);
public static PageStatus 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 getStatusCss()
public static PageStatus getStatus(String statusCssValue)
statusCssValue - CSS class of status iconIllegalArgumentException - when specified CSS class could not be matchedCopyright © 2016–2018 Cognifide Ltd.. All rights reserved.