Module io.helidon.validation
Package io.helidon.validation
Interface ConstraintViolation.PathElement
- Enclosing interface:
ConstraintViolation
public static interface ConstraintViolation.PathElement
A path element of a constraint violation.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(ConstraintViolation.Location location, String name) Create a new path element.location()Location of the element.name()Name of the element.
-
Method Details
-
create
Create a new path element.- Parameters:
location- location of the element (such asConstraintViolation.Location.METHODname- name of the element (such asprocess(ValidatedType))- Returns:
- a new path element
-
location
ConstraintViolation.Location location()Location of the element.- Returns:
- location
-
name
String name()Name of the element.- Returns:
- element name
-