public static enum CrawlerConfig.OrphansStrategy extends Enum<CrawlerConfig.OrphansStrategy>
Enum Constant and Description |
---|
DELETE
Deleting orphans sends them to the Committer for deletions and
they are removed from the internal reference cache.
|
IGNORE
Ignoring orphans effectively does nothing with them
(not deleted, not processed).
|
PROCESS
Processing orphans tries to obtain and process them again,
normally.
|
Modifier and Type | Method and Description |
---|---|
static CrawlerConfig.OrphansStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrawlerConfig.OrphansStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrawlerConfig.OrphansStrategy PROCESS
public static final CrawlerConfig.OrphansStrategy DELETE
public static final CrawlerConfig.OrphansStrategy IGNORE
public static CrawlerConfig.OrphansStrategy[] values()
for (CrawlerConfig.OrphansStrategy c : CrawlerConfig.OrphansStrategy.values()) System.out.println(c);
public static CrawlerConfig.OrphansStrategy 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 © 2014–2023 Norconex Inc.. All rights reserved.