Package com.example.common.validate
Interface ValidatorInterface
- All Known Implementing Classes:
IpValidator
,ListValidation
,NotUsedPortsValidator
,RangeNumberValidation
,ValidateIntegerNumber
public interface ValidatorInterface
Interface for validation (in common)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validate()
Validates the data according to specific rules.
-
Method Details
-
validate
boolean validate()Validates the data according to specific rules.- Returns:
- true if the data is valid, false otherwise
-