Enum HtmlIntegrity
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum HtmlIntegrity extends Enum<HtmlIntegrity>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHtmlIntegrity.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisOKprivate final BooleanisNotOKprivate final BooleanisEmptyprivate final BooleanisNotEmptyprivate final BooleanisEmptyBodyprivate final BooleanhasMissingFieldprivate final BooleanisRobotCheckprivate final BooleanisRobotCheck2private final BooleanisRobotCheck3private final BooleanisForbiddenprivate final BooleanisWrongProfileprivate final BooleanisVerifyprivate final BooleanisNotFoundprivate final BooleanisSmallprivate final BooleanisOtherprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<HtmlIntegrity>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description OKEMPTY_0BThe page content has no character at all
EMPTY_39BThe page content is as the following:
<html><head></head><body></body></html>and blanks.It might be caused by a bad proxy ip.
BLANK_BODYThe page content is as the following:
...<body>\s*</body>...NO_ANCHORThe page content contains no anchor at all
FIELD_MISSINGThe page content contains no anchor at all
NO_JS_OK_FLAGFailed to run injected javascript
ROBOT_CHECKThe page displays captcha or something similar
ROBOT_CHECK_2ROBOT_CHECK_3FORBIDDENThe access is forbidden
VERIFYRedirected to verify page, we should fetch later, or change privacy context
NOT_FOUNDThe page displays "404 Not Found" or something similar, the server should return a 404 error code, but not guaranteed
WRONG_COUNTRYThe current chosen country is not correct.
WRONG_DISTRICTThe current chosen district is not correct.
WRONG_LANGThe current chosen language is not correct.
TOO_SMALLThe page content is too small
TOO_SMALL_IN_HISTORYThe page content is too small compare to its history versions
TOO_SMALL_IN_BATCHThe content of the page is too small compare to other pages in the same batch
OTHER
-
Method Summary
Modifier and Type Method Description final HtmlIntegrityvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<HtmlIntegrity>values()Returns an array containing the constants of this enum type, in the order they're declared. final BooleanisOK()final BooleanisNotOK()final BooleanisEmpty()final BooleanisNotEmpty()final BooleanisEmptyBody()final BooleangetHasMissingField()final BooleanisRobotCheck()final BooleanisRobotCheck2()final BooleanisRobotCheck3()final BooleanisForbidden()final BooleanisWrongProfile()final BooleanisVerify()final BooleanisNotFound()final BooleanisSmall()final BooleanisOther()final EnumEntries<HtmlIntegrity>getEntries()-
-
Method Detail
-
valueOf
final HtmlIntegrity valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<HtmlIntegrity> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
isNotEmpty
final Boolean isNotEmpty()
-
isEmptyBody
final Boolean isEmptyBody()
-
getHasMissingField
final Boolean getHasMissingField()
-
isRobotCheck
final Boolean isRobotCheck()
-
isRobotCheck2
final Boolean isRobotCheck2()
-
isRobotCheck3
final Boolean isRobotCheck3()
-
isForbidden
final Boolean isForbidden()
-
isWrongProfile
final Boolean isWrongProfile()
-
isNotFound
final Boolean isNotFound()
-
getEntries
final EnumEntries<HtmlIntegrity> getEntries()
-
-
-
-