Uses of Interface
jakarta.validation.ParameterNameProvider
Package
Description
Top level package of the Jakarta Validation API.
Package containing objects specific to the interaction between the
Jakarta Validation bootstrapping process and Jakarta Validation providers.
-
Uses of ParameterNameProvider in jakarta.validation
Modifier and TypeMethodDescriptionConfiguration.getDefaultParameterNameProvider()
Returns an implementation of theParameterNameProvider
interface following the defaultParameterNameProvider
defined in the specification: returns the actual parameter names as provided in the validated executable’s definition, if the class file of the executable contains parameter name information otherwise returns names in the formarg<PARAMETER_INDEX>
, wherePARAMETER_INDEX
starts at 0 for the first parameter, e.g.ValidatorFactory.getParameterNameProvider()
Returns theParameterNameProvider
instance configured at initialization time for theValidatorFactory
.Modifier and TypeMethodDescriptionConfiguration.parameterNameProvider
(ParameterNameProvider parameterNameProvider) Defines the parameter name provider.ValidatorContext.parameterNameProvider
(ParameterNameProvider parameterNameProvider) Defines the parameter name provider implementation used by theValidator
. -
Uses of ParameterNameProvider in jakarta.validation.spi
Modifier and TypeMethodDescriptionConfigurationState.getParameterNameProvider()
Returns the parameter name provider for this configuration.