public class MAGETABValidator extends AbstractValidator<MAGETABInvestigation>
ValidateHandlers available. Only handlers that can
validate a MAGETABInvestigation object will be used. For more fine-grained validation, see IDFValidator or
SDRFValidator implementations.| Constructor and Description |
|---|
MAGETABValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorItemListener(ErrorItemListener listener)
Register an
ErrorItemListener with this parser. |
void |
validate(MAGETABInvestigation investigation)
Perform validation of the supplied validator source.
|
void |
validate(MAGETABInvestigation investigation,
ExecutorService service)
This default implementation ignored the supplied service and executes tasks in a linear manner, This is retained
to preserve backwards compatibility with the 1.0 release.
|
addProgressListener, fireErrorItemEvent, fireValidationCompletedEvent, fireValidationEvent, fireValidationFailedEvent, fireValidationStartedEvent, getErrorItemListeners, getLog, getProgressListeners, removeErrorItemListener, removeProgressListenerpublic void validate(MAGETABInvestigation investigation) throws ValidateException
Validatorinvestigation - the generically typed datamodel object to validateValidateException - if the supplied source could not be validatedpublic void validate(MAGETABInvestigation investigation, ExecutorService service) throws ValidateException, InterruptedException
AbstractValidatorvalidate in interface Validator<MAGETABInvestigation>validate in class AbstractValidator<MAGETABInvestigation>investigation - the datamodel objects to validateservice - the service to use to execute validation tasksValidateException - if the supplied source could not be validatedInterruptedException - if execution of a task sent to the Executor Service was interrruptedpublic void addErrorItemListener(ErrorItemListener listener)
ValidatorErrorItemListener with this parser. Whenever an error is encountered when parsing from the a
parserSource, this listener should be notified.addErrorItemListener in interface Validator<MAGETABInvestigation>addErrorItemListener in class AbstractValidator<MAGETABInvestigation>listener - the listener to registerCopyright © 2014. All rights reserved.