Class GenericRecrawlableResolverConfig.MinFrequency
java.lang.Object
com.norconex.crawler.web.doc.operations.recrawl.impl.GenericRecrawlableResolverConfig.MinFrequency
- Enclosing class:
GenericRecrawlableResolverConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionMinFrequency(GenericRecrawlableResolverConfig.MinFrequency.ApplyTo applyTo, String value, TextMatcher matcher) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanWhether to apply this minimum frequency to matching content type or document reference.A matcher applied to either a document reference or content type, based ongetApplyTo().getValue()String representation of a frequency.inthashCode()Whether to apply this minimum frequency to matching content type or document reference.voidsetMatcher(TextMatcher matcher) String representation of a frequency.toString()
-
Constructor Details
-
MinFrequency
public MinFrequency(GenericRecrawlableResolverConfig.MinFrequency.ApplyTo applyTo, String value, TextMatcher matcher) -
MinFrequency
public MinFrequency()
-
-
Method Details
-
setMatcher
-
getApplyTo
Whether to apply this minimum frequency to matching content type or document reference. Default toGenericRecrawlableResolverConfig.MinFrequency.ApplyTo.REFERENCE. -
getValue
String representation of a frequency. Can be one of "always", "hourly", "daily", "weekly", "monthly", "yearly", "never", or a numeric value in milliseconds. -
getMatcher
A matcher applied to either a document reference or content type, based ongetApplyTo(). -
setApplyTo
public GenericRecrawlableResolverConfig.MinFrequency setApplyTo(GenericRecrawlableResolverConfig.MinFrequency.ApplyTo applyTo) Whether to apply this minimum frequency to matching content type or document reference. Default toGenericRecrawlableResolverConfig.MinFrequency.ApplyTo.REFERENCE.- Returns:
this.
-
setValue
String representation of a frequency. Can be one of "always", "hourly", "daily", "weekly", "monthly", "yearly", "never", or a numeric value in milliseconds.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-