org.atemsource.atem.utility.validation.ValidationContext Maven / Gradle / Ivy
package org.atemsource.atem.utility.validation;
import org.atemsource.atem.api.type.Type;
import org.atemsource.atem.utility.path.AttributePath;
import org.atemsource.atem.utility.transform.api.constraint.Constraint;
public interface ValidationContext
{
void addConstraintError(AttributePath path, Constraint constraint);
void addRequiredError(AttributePath path);
void addTypeMismatchError(AttributePath path, Type targetType, String actualValue);
Type getEntityType(T value);
}