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

public static enum CrawlerConfig.ChangeDiscovery extends Enum<CrawlerConfig.ChangeDiscovery>
Defines how changes are discovered during a crawl run.
  • Enum Constant Details

    • CRAWLER_SCAN

      public static final CrawlerConfig.ChangeDiscovery 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

      public static final CrawlerConfig.ChangeDiscovery 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

      public static CrawlerConfig.ChangeDiscovery[] 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

      public static CrawlerConfig.ChangeDiscovery valueOf(String name)
      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 name
      NullPointerException - if the argument is null