Package xal.smf.impl

Enum Class WireScanner.CMDARG

java.lang.Object
java.lang.Enum<WireScanner.CMDARG>
xal.smf.impl.WireScanner.CMDARG
All Implemented Interfaces:
Serializable, Comparable<WireScanner.CMDARG>, Constable
Enclosing class:
WireScanner

public static enum WireScanner.CMDARG extends Enum<WireScanner.CMDARG>
Valid arguments to commands accepting arguments.
Since:
Aug 21, 2009
Author:
Christopher K. Allen
  • Enum Constant Details

  • Method Details

    • values

      public static WireScanner.CMDARG[] 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 WireScanner.CMDARG 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
    • getCommand

      public WireScanner.CMD getCommand()
      Returns the integer-value device command associated with the (CMD,ARG) pair.
      Returns:
      device command for enumeration constant
      Since:
      Aug 21, 2009
    • getArgCode

      public int getArgCode()
      Returns the integer-value command argument associated with the (CMD,ARG) pair.
      Returns:
      command argument for enumeration constant
      Since:
      Aug 21, 2009