Package uk.ac.gda.beans.exafs
Class DetectorConfig
java.lang.Object
uk.ac.gda.beans.exafs.DetectorConfig
- All Implemented Interfaces:
Serializable
Generic configuration describing how a detector should be setup before running a scan and if it should be used during
scan. Optional parameters :
configName - name xml file that can be applied to detector to configure it
scriptCommand - name of jython script file, or jython command to be run before configuring detector (run once
only, before first scan)
several 'use' flags to control whether to use detector during scan, configure it with a file, run script/command.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]inthashCode()booleanvoidsetAlwaysUseDetectorInScan(Boolean alwaysUseDetectorInScan) voidsetConfigFileName(String configFilename) voidsetDescription(String description) voidsetDetectorName(String detectorName) voidsetExtraDetectorNames(String[] extraDetectorNames) voidsetScriptCommand(String scriptCommand) voidsetUseConfigFile(Boolean useConfigFile) voidsetUseDetectorInScan(boolean useDetectorInScan) voidsetUseScriptCommand(Boolean useScriptCommand)
-
Constructor Details
-
DetectorConfig
public DetectorConfig() -
DetectorConfig
-
-
Method Details
-
getDetectorName
-
setDetectorName
-
getDescription
-
setDescription
-
getConfigFileName
-
setConfigFileName
-
getScriptCommand
-
setScriptCommand
-
isUseDetectorInScan
public boolean isUseDetectorInScan() -
setUseDetectorInScan
public void setUseDetectorInScan(boolean useDetectorInScan) -
getAlwaysUseDetectorInScan
-
setAlwaysUseDetectorInScan
-
isUseScriptCommand
-
setUseScriptCommand
-
isUseConfigFile
-
setUseConfigFile
-
getExtraDetectorNames
-
setExtraDetectorNames
-
getAllDetectorNames
-
hashCode
public int hashCode() -
equals
-