Enum Class LineRequest

java.lang.Object
java.lang.Enum<LineRequest>
com.pi4j.library.gpiod.internal.LineRequest
All Implemented Interfaces:
Serializable, Comparable<LineRequest>, Constable

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

    • DIRECTION_AS_IS

      public static final LineRequest DIRECTION_AS_IS
    • DIRECTION_INPUT

      public static final LineRequest DIRECTION_INPUT
    • DIRECTION_OUTPUT

      public static final LineRequest DIRECTION_OUTPUT
    • EVENT_FALLING_EDGE

      public static final LineRequest EVENT_FALLING_EDGE
    • EVENT_RISING_EDGE

      public static final LineRequest EVENT_RISING_EDGE
    • EVENT_BOTH_EDGES

      public static final LineRequest EVENT_BOTH_EDGES
  • Method Details

    • values

      public static LineRequest[] 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 LineRequest 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
    • getVal

      public int getVal()