Package com.norconex.crawler.core
Enum Class CrawlerConfig.OrphansStrategy
java.lang.Object
java.lang.Enum<CrawlerConfig.OrphansStrategy>
com.norconex.crawler.core.CrawlerConfig.OrphansStrategy
- All Implemented Interfaces:
Serializable,Comparable<CrawlerConfig.OrphansStrategy>,Constable
- Enclosing class:
CrawlerConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeleting orphans sends them to the Committer for deletions and they are removed from the internal reference cache.Ignoring orphans effectively does nothing with them (not deleted, not processed).Processing orphans tries to obtain and process them again, normally. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CrawlerConfig.OrphansStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROCESS
Processing orphans tries to obtain and process them again, normally. -
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).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-