org.javers.core.IgnoredClassesStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javers-core Show documentation
Show all versions of javers-core Show documentation
JaVers - object auditing and diff framework for Java
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);
}