@Spi public interface ValidateHandler<D> extends Handler
Handler that enables read functionality over a lump of data.| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canValidate(Object data)
Determine whether this handler can validate the supplied data. 
 | 
void | 
validate(D data)
Causes this handler to validate some data that has been read into a  
MAGETABInvestigation. | 
accept, addListener, getListeners, removeListenerboolean canValidate(Object data)
data - the data that will be validatedvoid validate(D data) throws ValidateException
MAGETABInvestigation.
 Usually, this will involve some checks that the data is formatted correctly and some checks for duplication, but
 more complex algorithms can be supplied if required.data - the data object to be validatedValidateException - if there is a problem validating objectsCopyright © 2014. All rights reserved.