Enum Class MonitorScanUIElement.MonitorScanRole

java.lang.Object
java.lang.Enum<MonitorScanUIElement.MonitorScanRole>
org.eclipse.scanning.api.scan.ui.MonitorScanUIElement.MonitorScanRole
All Implemented Interfaces:
Serializable, Comparable<MonitorScanUIElement.MonitorScanRole>, Constable
Enclosing class:
MonitorScanUIElement

public static enum MonitorScanUIElement.MonitorScanRole extends Enum<MonitorScanUIElement.MonitorScanRole>
For devices that are monitored they may be monitored per scan or per point. In the former case their values will be read and written to the scan file once at the configure stage of the scan. For the per point type, the monitor will run with the scans IPositioner and read/write value during the same task which writes the motors.

All types of monitor are added to the annotation pool and will have annotations processed with the scan.

  • Enum Constant Details

  • Method Details

    • values

      public static MonitorScanUIElement.MonitorScanRole[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MonitorScanUIElement.MonitorScanRole valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLabel

      public String getLabel()