io.mstream.trader.commons.validation.AbstractValidator Maven / Gradle / Ivy
The newest version!
package io.mstream.trader.commons.validation;
public abstract class AbstractValidator implements Validator {
protected final ValidationResultFactory validationResultFactory;
protected final ValidationErrorFactory validationErrorFactory;
protected AbstractValidator(
ValidationResultFactory validationResultFactory,
ValidationErrorFactory validationErrorFactory) {
this.validationResultFactory = validationResultFactory;
this.validationErrorFactory = validationErrorFactory;
}
}