R - The record type this validator can validate.public interface RecordValidator<R extends Record> extends RecordProcessor<R,R>
| Modifier and Type | Method and Description |
|---|---|
R |
processRecord(R record)
Validate a record.
|
R processRecord(R record) throws RecordValidationException
processRecord in interface RecordProcessor<R extends Record,R extends Record>record - the record to validate.RecordValidationException - thrown if the record is not valid and should be rejectedCopyright © 2015. All Rights Reserved.