java.lang.Object
java.lang.Enum<InterfaceOperStatus>
org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus
All Implemented Interfaces:
Serializable, Comparable<InterfaceOperStatus>, Constable, UaDataType, UaEnumeratedType

public enum InterfaceOperStatus extends Enum<InterfaceOperStatus> implements UaEnumeratedType
See Also:
  • Enum Constant Details

    • Up

      public static final InterfaceOperStatus Up
      Ready to pass packets.
    • Down

      public static final InterfaceOperStatus Down
      The interface does not pass any packets.
    • Testing

      public static final InterfaceOperStatus Testing
      In some test mode. No operational packets can be passed.
    • Unknown

      public static final InterfaceOperStatus Unknown
      Status cannot be determined for some reason.
    • Dormant

      public static final InterfaceOperStatus Dormant
      Waiting for some external event.
    • NotPresent

      public static final InterfaceOperStatus NotPresent
      Some component (typically hardware) is missing.
    • LowerLayerDown

      public static final InterfaceOperStatus LowerLayerDown
      Down due to state of lower-layer interface(s).
  • Method Details

    • values

      public static InterfaceOperStatus[] 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 InterfaceOperStatus 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
    • getValue

      public int getValue()
      Description copied from interface: UaEnumeratedType
      Get the numeric value associated with this enumerated value.
      Specified by:
      getValue in interface UaEnumeratedType
      Returns:
      the numeric value associated with this enumerated value.
    • getTypeId

      public ExpandedNodeId getTypeId()
      Description copied from interface: UaDataType
      Get the ExpandedNodeId identifying this DataType.
      Specified by:
      getTypeId in interface UaDataType
      Returns:
      the ExpandedNodeId identifying this DataType.
    • from

      public static @Nullable InterfaceOperStatus from(int value)
    • definition

      public static EnumDefinition definition()