Package io.atlasmap.validators
Class StringLengthValidator
- java.lang.Object
-
- io.atlasmap.validators.StringLengthValidator
-
- All Implemented Interfaces:
io.atlasmap.spi.AtlasValidator
public class StringLengthValidator extends Object implements io.atlasmap.spi.AtlasValidator
-
-
Constructor Summary
Constructors Constructor Description StringLengthValidator(io.atlasmap.v2.ValidationScope scope, String violationMessage, int minLength, int maxLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansupports(Class<?> clazz)voidvalidate(Object target, List<io.atlasmap.v2.Validation> validations, String id)voidvalidate(Object target, List<io.atlasmap.v2.Validation> validations, String id, io.atlasmap.v2.ValidationStatus status)
-
-
-
Constructor Detail
-
StringLengthValidator
public StringLengthValidator(io.atlasmap.v2.ValidationScope scope, String violationMessage, int minLength, int maxLength)
-
-