Package org.eclipse.scanning.api.scan.ui
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()Returns the enum constant of this class with the specified name.static MonitorScanUIElement.MonitorScanRole[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PER_POINT
Write the device value at each point in the scan. -
PER_SCAN
Write the device value once, at scan start.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getLabel
-