Module io.avaje.validation
Package io.avaje.validation.adapter
Interface ValidationContext.AdapterCreateRequest
- Enclosing interface:
ValidationContext
public static interface ValidationContext.AdapterCreateRequest
Request to create a Validation Adapter.
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> Return the validation annotation type.Return the attribute for the given key.Return the annotation attributes.ctx()Return the context.groups()Return the groups this constraint is active for.message()Return the message to useBuild and return a message given the new message key and attributesReturn the target typewithValue(long value) Clone and return the request with a new value attribute
-
Method Details
-
ctx
ValidationContext ctx()Return the context. -
annotationType
Class<? extends Annotation> annotationType()Return the validation annotation type. -
groups
Return the groups this constraint is active for. -
attributes
Return the annotation attributes. -
attribute
Return the attribute for the given key. -
message
ValidationContext.Message message()Return the message to use -
message
Build and return a message given the new message key and attributes -
targetType
String targetType()Return the target type -
withValue
Clone and return the request with a new value attribute
-