Package io.micronaut.validation.routes
Class RouteValidationResult
java.lang.Object
io.micronaut.validation.routes.RouteValidationResult
The result of route validation.
- Since:
- 1.0
- Author:
- James Kleeh
-
Constructor Details
-
RouteValidationResult
Default constructor.- Parameters:
errorMessages
- The error messages.
-
-
Method Details
-
isValid
public boolean isValid()Whether the route is valid.- Returns:
- True if the route is valid
-
getErrorMessages
The error messages.- Returns:
- An array or error messages
-