public class StringLengthValidator extends Object implements io.atlasmap.spi.AtlasValidator
Constructor and Description |
---|
StringLengthValidator(io.atlasmap.v2.ValidationScope scope,
String violationMessage,
int minLength,
int maxLength) |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(Class<?> clazz) |
void |
validate(Object target,
List<io.atlasmap.v2.Validation> validations,
String id) |
void |
validate(Object target,
List<io.atlasmap.v2.Validation> validations,
String id,
io.atlasmap.v2.ValidationStatus status) |
public StringLengthValidator(io.atlasmap.v2.ValidationScope scope, String violationMessage, int minLength, int maxLength)
Copyright © 2021 JBoss by Red Hat. All rights reserved.