public static enum ICrawlerConfig.OrphansStrategy extends Enum<ICrawlerConfig.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 ICrawlerConfig.OrphansStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ICrawlerConfig.OrphansStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ICrawlerConfig.OrphansStrategy DELETE
public static final ICrawlerConfig.OrphansStrategy PROCESS
public static final ICrawlerConfig.OrphansStrategy IGNORE
public static ICrawlerConfig.OrphansStrategy[] values()
for (ICrawlerConfig.OrphansStrategy c : ICrawlerConfig.OrphansStrategy.values()) System.out.println(c);
public static ICrawlerConfig.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–2021 Norconex Inc.. All rights reserved.