Enum Class CrawlerMode
- All Implemented Interfaces:
Serializable,Comparable<CrawlerMode>,Constable
Whether we are executing a full or incremental crawler run.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisregard any previous crawl and crawl as if it was the first time.Crawl taking into account previously crawled documents and only commit those that have been added, removed, or modified. -
Method Summary
Modifier and TypeMethodDescriptionstatic CrawlerModeReturns the enum constant of this class with the specified name.static CrawlerMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL
Disregard any previous crawl and crawl as if it was the first time. -
INCREMENTAL
Crawl taking into account previously crawled documents and only commit those that have been added, removed, or modified.
-
-
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
-