Package gda.rcp.mx.humiditycontroller
Class HC1ScanManager
java.lang.Object
gda.rcp.mx.scanmanager.AbstractScanManager
gda.rcp.mx.scanmanager.SampleFolderPrefixScanManager
gda.rcp.mx.humiditycontroller.HC1ScanManager
- All Implemented Interfaces:
Findable,gda.observable.IObserver,IScanManager,FolderPrefixHandler,SampleHandler,org.springframework.beans.factory.InitializingBean
public class HC1ScanManager
extends SampleFolderPrefixScanManager
implements Findable, org.springframework.beans.factory.InitializingBean, gda.observable.IObserver
This class creates and maps an instance of HC1DataCollection object parameters, which defines a
HC1 experiment, to an xml file that is written to disk and then placed on the command queue pending execution.
-
Field Summary
FieldsFields inherited from class gda.rcp.mx.scanmanager.SampleFolderPrefixScanManager
folderNameProvider, folderResolver, folderValidator, prefixProvider, prefixResolver, prefixValidator, sampleChangerController, sampleProviderFields inherited from class gda.rcp.mx.scanmanager.AbstractScanManager
scanFolder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetName()Get the object name.voidCreates two .xml hc1 experiment parameter files, one that reflects the current experiment run parameters, and a copy of this which has a unique file name, times stamped for historic reference.voidSet or change the name of the object (as defined in XML).voidMethods inherited from class gda.rcp.mx.scanmanager.SampleFolderPrefixScanManager
getFolderNameProvider, getFolderResolver, getFolderValidator, getPrefixProvider, getPrefixResolver, getPrefixValidator, getSampleChangerController, getSampleProvider, setFolderNameProvider, setPrefixProvider, setSampleChangerController, setSampleProviderMethods inherited from class gda.rcp.mx.scanmanager.AbstractScanManager
getScanFolder, getShutterController, setScanFolder, setShutterController, shutterStateIsOK
-
Field Details
-
NAME
- See Also:
-
MX_HC1_DATACOLLECTION_PARAMETERS_FILE
- See Also:
-
UNIQUE_FILE
public static final boolean UNIQUE_FILE- See Also:
-
-
Constructor Details
-
HC1ScanManager
public HC1ScanManager()
-
-
Method Details
-
runHC1ScanXML
Creates two .xml hc1 experiment parameter files, one that reflects the current experiment run parameters, and a copy of this which has a unique file name, times stamped for historic reference. Both files are persisted in {current visit directory}/xml. The current experiment file is added onto the command queue- Parameters:
model- the hc1 model to map to the hc1 experiment .xml output file
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractScanManager- Throws:
Exception
-
setName
Description copied from interface:FindableSet or change the name of the object (as defined in XML). -
getName
Description copied from interface:FindableGet the object name. Used by Castor to check if the object name has been set before calling theFindable.setName(String)method. -
update
- Specified by:
updatein interfacegda.observable.IObserver
-