Interface ValidationCallback


  • public interface ValidationCallback
    This interface is used to validate values that are to be assigned to configuration properties. The Validators class provides out-of-the-box handy validators.
    Since:
    1.17
    • Method Detail

      • validate

        String validate​(String newValueCandidate)
        Validate the new value candidate.
        Parameters:
        newValueCandidate - The value to be validated
        Returns:
        The empty string if validation passed, else a non-empty error message