Interface BeanValidator

    • Method Detail

      • validateBean

        void validateBean​(Bean bean)
                   throws BeanValidationException
        Called by the install4j GUI at design-time to check the validity of the bean properties. This method is called repeatedly when the user switches between different beans as well as by the compiler.
        Parameters:
        bean - the bean that should be validated
        Throws:
        BeanValidationException - Throw this exception if the bean properties are not valid