Enum Class DeviceKind
- All Implemented Interfaces:
Serializable,Comparable<DeviceKind>,Constable
Enum representing different kinds of devices that connectors can handle.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Set<DeviceKind> A set containing all the enumerated device kinds. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceKindDetects theDeviceKindusing the value defined in the connector code.static DeviceKindReturns the enum constant of this class with the specified name.static DeviceKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
VMS
HP Open VMS. -
TRU64
HP Tru64. -
HPUX
HP-UX. -
AIX
IBM AIX. -
LINUX
Linux. -
OOB
Management. -
WINDOWS
Microsoft Windows. -
NETWORK
Network. -
STORAGE
Storage. -
SOLARIS
Oracle Solaris. -
OTHER
Other.
-
-
Field Details
-
DEVICE_KINDS
A set containing all the enumerated device kinds.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
detect
Detects theDeviceKindusing the value defined in the connector code.- Parameters:
value- The value to detect.- Returns:
- The corresponding
DeviceKindinstance. - Throws:
IllegalArgumentException- If the provided value is not a supported device kind.
-