public enum StatusOfScrape extends Enum<StatusOfScrape>
StatusOfScrape describes the possible status levels the scrape for each URL/CrawlRecord.
Each URL/CrawlRecord can have one of the following:
DOES_NOT_EXIST = 404.
HUMAN_INSPECTION = cannot parse for some reason; a human should see what is happening.
UNTRIED = not scraped yet.
FAILED = one failed attempt at scraping; will try again.
GIVEN_UP = two failed attempts at scraping. Will not try again.
SUCCESS = successfully scraped.| Enum Constant and Description |
|---|
DOES_NOT_EXIST |
FAILED |
GIVEN_UP |
HUMAN_INSPECTION |
SUCCESS |
UNTRIED |
| Modifier and Type | Method and Description |
|---|---|
static StatusOfScrape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusOfScrape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusOfScrape DOES_NOT_EXIST
public static final StatusOfScrape HUMAN_INSPECTION
public static final StatusOfScrape UNTRIED
public static final StatusOfScrape FAILED
public static final StatusOfScrape GIVEN_UP
public static final StatusOfScrape SUCCESS
public static StatusOfScrape[] values()
for (StatusOfScrape c : StatusOfScrape.values()) System.out.println(c);
public static StatusOfScrape 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 © 2025. All rights reserved.