All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unitils.objectvalidation.Rule Maven / Gradle / Ivy

There is a newer version: 1.1.9
Show newest version
package org.unitils.objectvalidation;


/**
 * Rules are to verify that a specific object is in phase with the way of thinking of a project.
 * It could be a rule to verify that the toString() method is immutable for instance.
 * 
 * Do your assertions like you would do in any other test.
 * 
 * @author Matthieu Mestrez
 * @since Oct 8, 2013
 */
public interface Rule {

    /**
     * Will run the validations on the java class passed in parameter.
     * @param classToValidate
     */
    void validate(Class classToValidate);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy