org.javers.core.IgnoredClassesStrategy Maven / Gradle / Ivy
package org.javers.core;
/**
* A strategy used in
* {@link JaversBuilder#registerIgnoredClassesStrategy(IgnoredClassesStrategy)}
*/
@FunctionalInterface
public interface IgnoredClassesStrategy {
/**
* Allows to mark classes as ignored by Javers.
*
*
* When a class is ignored, all properties
* (found in other classes) with this class type are ignored.
*
*
* Called in runtime once for each class
*
* @return true if a class should be ignored
*/
boolean isIgnored(Class domainClass);
}