- java.lang.Object
-
- io.rxmicro.validation.validator.PhoneConstraintValidator
-
- io.rxmicro.validation.validator.WhatsAppConstraintValidator
-
- All Implemented Interfaces:
ConstraintValidator<String>
public class WhatsAppConstraintValidator extends PhoneConstraintValidator
Validator for theWhatsAppconstraint.- Since:
- 0.1
- Author:
- nedis
- See Also:
WhatsApp
-
-
Constructor Summary
Constructors Constructor Description WhatsAppConstraintValidator(boolean withoutPlus, boolean allowsSpaces)Creates the default instance ofWhatsAppConstraintValidatorwith the specified parameters.
-
Method Summary
-
Methods inherited from class io.rxmicro.validation.validator.PhoneConstraintValidator
validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.rxmicro.validation.ConstraintValidator
validate, validateList, validateList
-
-
-
-
Constructor Detail
-
WhatsAppConstraintValidator
public WhatsAppConstraintValidator(boolean withoutPlus, boolean allowsSpaces)Creates the default instance ofWhatsAppConstraintValidatorwith the specified parameters.- Parameters:
withoutPlus- value must be without plus or notallowsSpaces- allows whitespaces or not
-
-