- All Superinterfaces:
Prototype.Api,Prototype.Factory<ValidationContext>
- All Known Implementing Classes:
ValidationContextConfig.BuilderBase.ValidationContextConfigImpl
Configuration of Validation process, used to create a
ValidationContext.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forValidationContext.static classValidationContextConfig.BuilderBase<BUILDER extends ValidationContextConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ValidationContextConfig> Fluent API builder base forValidationContextConfig. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new fluent API builder to customize configuration.builder(ValidationContextConfig instance) Create a new fluent API builder from an existing instance.clock()Clock to use for validation of calendar constraints.Top level validation root object.Class<?> rootType()Top level validation root type.Methods inherited from interface io.helidon.builder.api.Prototype.Factory
build
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
rootType
Class<?> rootType()Top level validation root type.- Returns:
- root type
-
rootObject
Top level validation root object. If empty, we may be validating a constructor.- Returns:
- root object if specified, empty otherwise
-
clock
Clock clock()Clock to use for validation of calendar constraints.- Returns:
- clock for validation
-