Enum SolarisComputerSystem.SmbType
- java.lang.Object
-
- java.lang.Enum<SolarisComputerSystem.SmbType>
-
- oshi.hardware.platform.unix.solaris.SolarisComputerSystem.SmbType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SolarisComputerSystem.SmbType>
- Enclosing class:
- SolarisComputerSystem
public static enum SolarisComputerSystem.SmbType extends java.lang.Enum<SolarisComputerSystem.SmbType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SMB_TYPE_BASEBOARD
BaseboardSMB_TYPE_BIOS
BIOSSMB_TYPE_SYSTEM
System
-
Constructor Summary
Constructors Modifier Constructor Description private
SmbType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SolarisComputerSystem.SmbType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SolarisComputerSystem.SmbType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMB_TYPE_BIOS
public static final SolarisComputerSystem.SmbType SMB_TYPE_BIOS
BIOS
-
SMB_TYPE_SYSTEM
public static final SolarisComputerSystem.SmbType SMB_TYPE_SYSTEM
System
-
SMB_TYPE_BASEBOARD
public static final SolarisComputerSystem.SmbType SMB_TYPE_BASEBOARD
Baseboard
-
-
Method Detail
-
values
public static SolarisComputerSystem.SmbType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SolarisComputerSystem.SmbType c : SolarisComputerSystem.SmbType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SolarisComputerSystem.SmbType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-