net.anotheria.anoprise.metafactory.OnTheFlyConflictResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ano-prise Show documentation
Show all versions of ano-prise Show documentation
Collection of utils for different enterprise class projects. Among other stuff contains
Caches, Mocking, DualCrud, MetaFactory and SessionDistributorService. Visit https://opensource.anotheria.net for details.
package net.anotheria.anoprise.metafactory;
import java.util.Collection;
/**
* This helper class is used by the MetaFactory to resolve conflicts.
*
* @author lrosenberg
* @since 07.01.13 23:36
*/
public interface OnTheFlyConflictResolver {
/**
* Returns one class of the list, if the conflict resolver knows which to pick, or null.
* @param candidates
* @return
*/
Class extends T> resolveConflict(Collection> candidates);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy