Enum Class ARI1PortDirection

java.lang.Object
java.lang.Enum<ARI1PortDirection>
com.io7m.aradine.instrument.spi1.ARI1PortDirection
All Implemented Interfaces:
Serializable, Comparable<ARI1PortDirection>, Constable

public enum ARI1PortDirection extends Enum<ARI1PortDirection>
The direction of a port.
  • Enum Constant Details

    • AR_SOURCE

      public static final ARI1PortDirection AR_SOURCE
      The port is a source port.
    • AR_TARGET

      public static final ARI1PortDirection AR_TARGET
      The port is a target port.
  • Method Details

    • values

      public static ARI1PortDirection[] 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 ARI1PortDirection 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