public class RouteValidationResult extends Object
Constructor and Description |
---|
RouteValidationResult(String... errorMessages)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getErrorMessages()
The error messages.
|
boolean |
isValid()
Whether the route is valid.
|
public RouteValidationResult(String... errorMessages)
errorMessages
- The error messages.public boolean isValid()
public String[] getErrorMessages()