|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<CrawlRate>
com.google.gdata.data.webmastertools.CrawlRate
public enum CrawlRate
CrawlRate is an enumerated type that indicates the desired crawl rate to use for a concrete site. Not all rates may be allowed for a given site.
| Enum Constant Summary | |
|---|---|
FASTER
|
|
FASTEST
|
|
NORMAL
|
|
SLOWER
|
|
SLOWEST
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
java.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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||