Enum Constant and Description |
---|
FASTER |
FASTEST |
NORMAL |
SLOWER |
SLOWEST |
Modifier and Type | Method and Description |
---|---|
static CrawlRate |
fromString(java.lang.String value)
Parse a string and return a crawl rate.
|
static CrawlRate |
getDefault()
Returns the default CrawlRate value.
|
java.lang.String |
toString()
Returns the string representation of the CrawlRate.
|
static CrawlRate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CrawlRate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrawlRate SLOWEST
public static final CrawlRate SLOWER
public static final CrawlRate NORMAL
public static final CrawlRate FASTER
public static final CrawlRate FASTEST
public static CrawlRate[] values()
for (CrawlRate c : CrawlRate.values()) System.out.println(c);
public static CrawlRate 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 toString()
toString
in class java.lang.Enum<CrawlRate>
public static CrawlRate getDefault()
public static CrawlRate fromString(java.lang.String value) throws java.lang.IllegalArgumentException
value
- a string representing a crawl rate.java.lang.IllegalArgumentException
- if the parameter is not a valid
CrawlRate string.