Package io.atlasmap.validators
Class StringPatternValidator
java.lang.Object
io.atlasmap.validators.StringPatternValidator
- All Implemented Interfaces:
AtlasValidator
-
Constructor Summary
ConstructorDescriptionStringPatternValidator
(ValidationScope scope, String violationMessage, String pattern) StringPatternValidator
(ValidationScope scope, String violationMessage, String pattern, boolean useMatch) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
validate
(Object target, List<Validation> validations, String id) void
validate
(Object target, List<Validation> validations, String id, ValidationStatus status)
-
Constructor Details
-
StringPatternValidator
-
StringPatternValidator
public StringPatternValidator(ValidationScope scope, String violationMessage, String pattern, boolean useMatch)
-
-
Method Details
-
supports
- Specified by:
supports
in interfaceAtlasValidator
-
validate
- Specified by:
validate
in interfaceAtlasValidator
-
validate
public void validate(Object target, List<Validation> validations, String id, ValidationStatus status) - Specified by:
validate
in interfaceAtlasValidator
-