java.lang.Object
java.lang.Enum<DeviceKind>
org.sentrysoftware.metricshub.engine.connector.model.common.DeviceKind
All Implemented Interfaces:
Serializable, Comparable<DeviceKind>, Constable

public enum DeviceKind extends Enum<DeviceKind>
Enum representing different kinds of devices that connectors can handle.
  • Enum Constant Details

    • VMS

      public static final DeviceKind VMS
      HP Open VMS.
    • TRU64

      public static final DeviceKind TRU64
      HP Tru64.
    • HPUX

      public static final DeviceKind HPUX
      HP-UX.
    • AIX

      public static final DeviceKind AIX
      IBM AIX.
    • LINUX

      public static final DeviceKind LINUX
      Linux.
    • OOB

      public static final DeviceKind OOB
      Management.
    • WINDOWS

      public static final DeviceKind WINDOWS
      Microsoft Windows.
    • NETWORK

      public static final DeviceKind NETWORK
      Network.
    • STORAGE

      public static final DeviceKind STORAGE
      Storage.
    • SOLARIS

      public static final DeviceKind SOLARIS
      Oracle Solaris.
    • OTHER

      public static final DeviceKind OTHER
      Other.
  • Field Details

    • DEVICE_KINDS

      public static final Set<DeviceKind> DEVICE_KINDS
      A set containing all the enumerated device kinds.
  • Method Details

    • values

      public static DeviceKind[] 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 DeviceKind 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
    • detect

      public static DeviceKind detect(String value)
      Detects the DeviceKind using the value defined in the connector code.
      Parameters:
      value - The value to detect.
      Returns:
      The corresponding DeviceKind instance.
      Throws:
      IllegalArgumentException - If the provided value is not a supported device kind.