org.holmes.evaluator.Evaluation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of holmes-validation Show documentation
Show all versions of holmes-validation Show documentation
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