![JAR search and dependency download from the Maven repository](/logo.png)
fr.whimtrip.ext.jwhtscrapper.enm.TriggeredOn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whimtrip-ext-scrapper Show documentation
Show all versions of whimtrip-ext-scrapper Show documentation
Fully featured highly pluggable and customizable Java scrapping framework
The newest version!
package fr.whimtrip.ext.jwhtscrapper.enm;
import fr.whimtrip.ext.jwhthtmltopojo.annotation.Selector;
import fr.whimtrip.ext.jwhtscrapper.annotation.WarningSign;
/**
* Part of project jwht-scrapper
* Created on 29/07/18
*
*
* This enumeration defines all possible triggering schemes
* for a warning sign.
*
*
* @author Louis-wht
* @since 1.0.0
*
*/
public enum TriggeredOn {
/**
* When the field had a null or equivalent value. Null or Equivalent values
* are : null, empty string or empty list.
*/
NULL_VALUE,
/**
* When the field has the default value defined by {@link Selector#defValue()}.
*/
DEFAULT_VALUE,
/**
* When the value is neither {@link #NULL_VALUE},
* nor {@link #DEFAULT_VALUE}
*/
ANY_CORRECT_VALUE,
/**
* When the value matches the regex given with {@link WarningSign#triggeredOnRegex()}.
*/
ANY_VALUE_MATCHING_REGEX,
/**
* When the value doesn't match the regex given with {@link WarningSign#triggeredOnRegex()}.
*/
ANY_VALUE_NOT_MATCHING_REGEX
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy