16 lines
309 B
Java
16 lines
309 B
Java
package eu.eudat.commons.validation.specification;
|
|
|
|
import java.util.function.Supplier;
|
|
|
|
public interface PropertySpecification extends Specification {
|
|
|
|
Supplier<Boolean> getPrecondition();
|
|
|
|
Supplier<Boolean> getSpecification();
|
|
|
|
String getErrorKey();
|
|
|
|
String getErrorMessage();
|
|
String getErrorCode();
|
|
}
|