public static enum CrawlRules.CrawlPriorityMode extends Enum<CrawlRules.CrawlPriorityMode>
| Enum Constant and Description |
|---|
NORMAL |
OLDEST_FIRST |
RANDOM |
SHALLOW_FIRST |
| Modifier and Type | Method and Description |
|---|---|
static CrawlRules.CrawlPriorityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrawlRules.CrawlPriorityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrawlRules.CrawlPriorityMode NORMAL
public static final CrawlRules.CrawlPriorityMode RANDOM
public static final CrawlRules.CrawlPriorityMode OLDEST_FIRST
public static final CrawlRules.CrawlPriorityMode SHALLOW_FIRST
public static CrawlRules.CrawlPriorityMode[] values()
for (CrawlRules.CrawlPriorityMode c : CrawlRules.CrawlPriorityMode.values()) System.out.println(c);
public static CrawlRules.CrawlPriorityMode 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 nullCopyright © 2007–2019. All rights reserved.