use of org.eclipse.scanning.api.scan.process.IPreprocessor in project gda-core by openGDA.
the class HeterogeneousScanServlet method preprocess.
private void preprocess(ScanBean scanBean) throws ProcessingException {
// copied from ScanServlet
ScanRequest req = scanBean.getScanRequest();
if (req.isIgnorePreprocess()) {
return;
}
for (IPreprocessor processor : Services.getPreprocessors()) {
req = processor.preprocess(req);
}
scanBean.setScanRequest(req);
}
Aggregations