public static enum PageResult.Status extends java.lang.Enum<PageResult.Status>
Enum Constant and Description |
---|
OK |
TIMEOUT |
TOO_MANY_PUBLICATIONS |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsIgnoreCase(java.lang.String str) |
static PageResult.Status |
getFromString(java.lang.String str) |
java.lang.String |
getLabel() |
int |
getLevel() |
java.lang.String |
getMessage(java.lang.String userLang) |
boolean |
isWorseThan(PageResult.Status status) |
static PageResult.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PageResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageResult.Status OK
public static final PageResult.Status TIMEOUT
public static final PageResult.Status TOO_MANY_PUBLICATIONS
public static PageResult.Status[] values()
for (PageResult.Status c : PageResult.Status.values()) System.out.println(c);
public static PageResult.Status 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 java.lang.String getLabel()
public int getLevel()
public boolean equalsIgnoreCase(java.lang.String str)
public static PageResult.Status getFromString(java.lang.String str)
public boolean isWorseThan(PageResult.Status status)
public java.lang.String getMessage(java.lang.String userLang)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.