public class AssertValidConstraint extends java.lang.Object implements ValidationConstraint<AssertValid>
Modifier and Type | Field and Description |
---|---|
protected ValidationContext |
targetValidationContext |
Constructor and Description |
---|
AssertValidConstraint(ValidationContext targetValidationContext) |
Modifier and Type | Method and Description |
---|---|
void |
configure(AssertValid annotation)
Configures constraint from associated annotation.
|
boolean |
isValid(ValidationConstraintContext vcc,
java.lang.Object value)
Invokes validation on inner context.
|
protected final ValidationContext targetValidationContext
public AssertValidConstraint(ValidationContext targetValidationContext)
public void configure(AssertValid annotation)
ValidationConstraint
configure
in interface ValidationConstraint<AssertValid>
public boolean isValid(ValidationConstraintContext vcc, java.lang.Object value)
true
since
inner context violations will be appended to provided validator.isValid
in interface ValidationConstraint<AssertValid>
true
if validation passes, otherwise false
.Copyright © 2003-present Jodd Team