Enum Class DeviceAction

java.lang.Object
java.lang.Enum<DeviceAction>
org.eclipse.scanning.api.event.scan.DeviceAction
All Implemented Interfaces:
Serializable, Comparable<DeviceAction>, Constable

public enum DeviceAction extends Enum<DeviceAction>
  • Enum Constant Details

    • VALIDATE

      public static final DeviceAction VALIDATE
    • CONFIGURE

      public static final DeviceAction CONFIGURE
    • RUN

      public static final DeviceAction RUN
    • ABORT

      public static final DeviceAction ABORT
    • RESET

      public static final DeviceAction RESET
    • SET

      public static final DeviceAction SET
    • TCONTROLLED

      public static final DeviceAction TCONTROLLED
      Stop a move if one is currently running.
    • TPANIC

      public static final DeviceAction TPANIC
      Stop a move if one is currently running.
    • ACTIVATE

      public static final DeviceAction ACTIVATE
      Called to set a device as activated or not. NOTE This does not make it run in a scan directly, it just marks it as being included in new scans submitted to the server.
    • DISABLE

      public static final DeviceAction DISABLE
      Disable device, stopping all activity.
    • VALIDATEWITHRETURN

      public static final DeviceAction VALIDATEWITHRETURN
      Validate, with an expectation that the result will be returned
  • Method Details

    • values

      public static DeviceAction[] 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 DeviceAction 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
    • as

    • isTerminate

      public boolean isTerminate()
    • to