Package gda.device

Enum Class EnumPositionerStatus

java.lang.Object
java.lang.Enum<EnumPositionerStatus>
gda.device.EnumPositionerStatus
All Implemented Interfaces:
Serializable, Comparable<EnumPositionerStatus>, Constable

public enum EnumPositionerStatus extends Enum<EnumPositionerStatus>
A Enum Positioner Status class - provides a set of allowed status values
  • Enum Constant Details

  • Method Details

    • values

      public static EnumPositionerStatus[] 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 EnumPositionerStatus 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
    • value

      public int value()
      Returns:
      the internal value
    • fromInt

      public static EnumPositionerStatus fromInt(int value)
      Parameters:
      value -
      Returns:
      the EnumPositionerStatus instance corresponding to value
    • toString

      public String toString()
      Overrides:
      toString in class Enum<EnumPositionerStatus>