Package com.norconex.crawler.core
Enum Class CrawlerConfig.ChangeDiscovery
java.lang.Object
java.lang.Enum<CrawlerConfig.ChangeDiscovery>
com.norconex.crawler.core.CrawlerConfig.ChangeDiscovery
- All Implemented Interfaces:
Serializable,Comparable<CrawlerConfig.ChangeDiscovery>,Constable
- Enclosing class:
CrawlerConfig
Defines how changes are discovered during a crawl run.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe crawler discovers changes by scanning/walking source inventory.The source provides explicit change/delete signals (delta feed). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CrawlerConfig.ChangeDiscovery[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CRAWLER_SCAN
The crawler discovers changes by scanning/walking source inventory. In incremental runs, reference absence can contribute to orphan handling according to configured orphan strategy. -
SOURCE_DELTA
The source provides explicit change/delete signals (delta feed). In incremental runs, reference absence is not authoritative and must not be treated as orphan evidence by itself.
-
-
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
-