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

org.holmes.evaluator.Evaluation Maven / Gradle / Ivy

Go to download

Holmes is a library that provides a simple and fluent API for writing business rules validations on Java projects.

The newest version!
package org.holmes.evaluator;

/**
 * This class represents the deferred evaluation process through a concrete
 * implementation of {@link #evaluate(Object)} method.
 * 
 * @author diegossilveira
 * 
 * @param 
 *            the type this Evaluation applies to.
 */
public interface Evaluation {

	/**
	 * Evaluates the target by some given rule.
	 * 
	 * @param target
	 * @return true if the target conforms to the rules,
	 *         false otherwise.
	 */
	boolean evaluate(T target);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy