Class DetectorConfig

java.lang.Object
uk.ac.gda.beans.exafs.DetectorConfig
All Implemented Interfaces:
Serializable

public class DetectorConfig extends Object implements 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 Details

      • DetectorConfig

        public DetectorConfig()
      • DetectorConfig

        public DetectorConfig(String detectorName)
    • Method Details

      • getDetectorName

        public String getDetectorName()
      • setDetectorName

        public void setDetectorName(String detectorName)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription(String description)
      • getConfigFileName

        public String getConfigFileName()
      • setConfigFileName

        public void setConfigFileName(String configFilename)
      • getScriptCommand

        public String getScriptCommand()
      • setScriptCommand

        public void setScriptCommand(String scriptCommand)
      • isUseDetectorInScan

        public boolean isUseDetectorInScan()
      • setUseDetectorInScan

        public void setUseDetectorInScan(boolean useDetectorInScan)
      • getAlwaysUseDetectorInScan

        public Boolean getAlwaysUseDetectorInScan()
      • setAlwaysUseDetectorInScan

        public void setAlwaysUseDetectorInScan(Boolean alwaysUseDetectorInScan)
      • isUseScriptCommand

        public Boolean isUseScriptCommand()
      • setUseScriptCommand

        public void setUseScriptCommand(Boolean useScriptCommand)
      • isUseConfigFile

        public Boolean isUseConfigFile()
      • setUseConfigFile

        public void setUseConfigFile(Boolean useConfigFile)
      • getExtraDetectorNames

        public String[] getExtraDetectorNames()
      • setExtraDetectorNames

        public void setExtraDetectorNames(String[] extraDetectorNames)
      • getAllDetectorNames

        public List<String> getAllDetectorNames()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals(Object obj)
        Overrides:
        equals in class Object