Package oshi.driver.windows.wmi
Enum MSFTStorage.PhysicalDiskProperty
- java.lang.Object
-
- java.lang.Enum<MSFTStorage.PhysicalDiskProperty>
-
- oshi.driver.windows.wmi.MSFTStorage.PhysicalDiskProperty
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MSFTStorage.PhysicalDiskProperty>
- Enclosing class:
- MSFTStorage
public static enum MSFTStorage.PhysicalDiskProperty extends java.lang.Enum<MSFTStorage.PhysicalDiskProperty>
Properties for a physical disk. The Object ID uniquely defines the disk.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FRIENDLYNAME
OBJECTID
PHYSICALLOCATION
-
Constructor Summary
Constructors Modifier Constructor Description private
PhysicalDiskProperty()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MSFTStorage.PhysicalDiskProperty
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MSFTStorage.PhysicalDiskProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FRIENDLYNAME
public static final MSFTStorage.PhysicalDiskProperty FRIENDLYNAME
-
PHYSICALLOCATION
public static final MSFTStorage.PhysicalDiskProperty PHYSICALLOCATION
-
OBJECTID
public static final MSFTStorage.PhysicalDiskProperty OBJECTID
-
-
Method Detail
-
values
public static MSFTStorage.PhysicalDiskProperty[] 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 (MSFTStorage.PhysicalDiskProperty c : MSFTStorage.PhysicalDiskProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MSFTStorage.PhysicalDiskProperty 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
-
-