Package models.validators
Interface Validator<T>
- Type Parameters:
T
- Type of validation value.
- All Known Implementing Classes:
CoordXValidator
,CoordYValidator
,DistanceValidator
,IdValidator
,LocationNameValidator
,LocationXValidator
,LocationYZValidator
,NameValidator
,RouteValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Base validator. You should implement it for use in handlers.
-
Method Summary
-
Method Details
-
validate
Provides validation method.- Parameters:
value
- value to validate- Returns:
- true if value is validate. Otherwise false.
-