Class DefaultScanPreprocessor
java.lang.Object
org.eclipse.scanning.server.servlet.DefaultScanPreprocessor
- All Implemented Interfaces:
IPreprocessor
This pre-processor merges the monitors defined in its
DefaultScanConfiguration into a ScanRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Preprocessor name.preprocess(ScanRequest scanRequest) Runs the preprocessor on the givenScanRequest.voidsetDefaultScanConfiguration(DefaultScanConfiguration defaultScanConfiguration)
-
Constructor Details
-
DefaultScanPreprocessor
public DefaultScanPreprocessor()
-
-
Method Details
-
getName
Description copied from interface:IPreprocessorPreprocessor name.- Specified by:
getNamein interfaceIPreprocessor- Returns:
- name
-
getDefaultScanConfiguration
-
setDefaultScanConfiguration
-
preprocess
Description copied from interface:IPreprocessorRuns the preprocessor on the givenScanRequest. This may modify theScanRequestin place or return an entirely newScanRequestobject.- Specified by:
preprocessin interfaceIPreprocessor- Parameters:
scanRequest- The request sent by the user interface- Returns:
- the processed
ScanRequest - Throws:
ProcessingException
-