| Modifier and Type | Field and Description |
|---|---|
| private volatile ConstraintValidator | |
| protected final ConstraintDescriptorImpl | descriptor
The constraint descriptor for the constraint represented by this constraint tree. |
| private static final Log | |
| private final Type |
| Access | Constructor and Description |
|---|---|
| protected | ConstraintTree(ConstraintValidatorManager constraintValidatorManager, ConstraintDescriptorImpl<A> descriptor, Type validatedValueType)
|
| Modifier and Type | Method and Description |
|---|---|
| public final ConstraintDescriptorImpl | |
| private ValidationException | |
| protected final ConstraintValidator | getInitializedConstraintValidator(ValidationContext<?> validationContext, ValueContext<?, ?> valueContext)
|
| public final Type | |
| public static <U extends Annotation> ConstraintTree | of(ConstraintValidatorManager constraintValidatorManager, ConstraintDescriptorImpl<U> composingDescriptor, Type validatedValueType)
|
| public String | |
| public final boolean | |
| protected abstract void | validateConstraints(ValidationContext<?> validationContext, ValueContext<?, ?> valueContext, Collection<ConstraintValidatorContextImpl> violatedConstraintValidatorContexts)
|
| protected final <V> Optional | Returns: anOptional#empty() if there is no violation or a corresponding ConstraintValidatorContextImpl
otherwise.
|
| defaultInitializedConstraintValidator | back to summary |
|---|---|
| private volatile ConstraintValidator<A, ?> defaultInitializedConstraintValidator | |
| descriptor | back to summary |
|---|---|
| protected final ConstraintDescriptorImpl<A> descriptor The constraint descriptor for the constraint represented by this constraint tree. | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| validatedValueType | back to summary |
|---|---|
| private final Type validatedValueType | |
| ConstraintTree | back to summary |
|---|---|
| protected ConstraintTree(ConstraintValidatorManager constraintValidatorManager, ConstraintDescriptorImpl<A> descriptor, Type validatedValueType) | |
| getDescriptor | back to summary |
|---|---|
| public final ConstraintDescriptorImpl | |
| getExceptionForNullValidator | back to summary |
|---|---|
| private ValidationException getExceptionForNullValidator(Type validatedValueType, String path) | |
| getInitializedConstraintValidator | back to summary |
|---|---|
| protected final ConstraintValidator | |
| getValidatedValueType | back to summary |
|---|---|
| public final Type getValidatedValueType() | |
| of | back to summary |
|---|---|
| public static <U extends Annotation> ConstraintTree | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| validateConstraints | back to summary |
|---|---|
| public final boolean validateConstraints(ValidationContext<?> validationContext, ValueContext<?, ?> valueContext) | |
| validateConstraints | back to summary |
|---|---|
| protected abstract void validateConstraints(ValidationContext<?> validationContext, ValueContext<?, ?> valueContext, Collection<ConstraintValidatorContextImpl> violatedConstraintValidatorContexts) | |
| validateSingleConstraint | back to summary |
|---|---|
protected final <V> Optional
| |