dev.vality.fraudo.resolver.FieldResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fraudo Show documentation
Show all versions of fraudo Show documentation
Language for describing antifraud patterns
package dev.vality.fraudo.resolver;
import dev.vality.fraudo.model.Pair;
public interface FieldResolver {
String resolveValue(String fieldName, T model);
U resolveName(String fieldName);
default Pair resolve(String fieldName, T model) {
return new Pair<>(
resolveName(fieldName),
resolveValue(fieldName, model)
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy