Class RouteValidationResult

java.lang.Object
io.micronaut.validation.routes.RouteValidationResult

public class RouteValidationResult extends Object
The result of route validation.
Since:
1.0
Author:
James Kleeh
  • Constructor Details

    • RouteValidationResult

      public RouteValidationResult(String... errorMessages)
      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

      public String[] getErrorMessages()
      The error messages.
      Returns:
      An array or error messages