Package oshi.hardware.platform.mac
Enum MacHWDiskStore.CFKey
- java.lang.Object
-
- java.lang.Enum<MacHWDiskStore.CFKey>
-
- oshi.hardware.platform.mac.MacHWDiskStore.CFKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MacHWDiskStore.CFKey>
- Enclosing class:
- MacHWDiskStore
private static enum MacHWDiskStore.CFKey extends java.lang.Enum<MacHWDiskStore.CFKey>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BSD_UNIT
DA_DEVICE_MODEL
DA_MEDIA_NAME
DA_MEDIA_SIZE
DA_VOLUME_NAME
IO_PROPERTY_MATCH
LEAF
MODEL
READ_BYTES
READ_OPS
READ_TIME
STATISTICS
WHOLE
WRITE_BYTES
WRITE_OPS
WRITE_TIME
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
key
-
Constructor Summary
Constructors Modifier Constructor Description private
CFKey(java.lang.String key)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
static MacHWDiskStore.CFKey
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MacHWDiskStore.CFKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IO_PROPERTY_MATCH
public static final MacHWDiskStore.CFKey IO_PROPERTY_MATCH
-
STATISTICS
public static final MacHWDiskStore.CFKey STATISTICS
-
READ_OPS
public static final MacHWDiskStore.CFKey READ_OPS
-
READ_BYTES
public static final MacHWDiskStore.CFKey READ_BYTES
-
READ_TIME
public static final MacHWDiskStore.CFKey READ_TIME
-
WRITE_OPS
public static final MacHWDiskStore.CFKey WRITE_OPS
-
WRITE_BYTES
public static final MacHWDiskStore.CFKey WRITE_BYTES
-
WRITE_TIME
public static final MacHWDiskStore.CFKey WRITE_TIME
-
BSD_UNIT
public static final MacHWDiskStore.CFKey BSD_UNIT
-
LEAF
public static final MacHWDiskStore.CFKey LEAF
-
WHOLE
public static final MacHWDiskStore.CFKey WHOLE
-
DA_MEDIA_NAME
public static final MacHWDiskStore.CFKey DA_MEDIA_NAME
-
DA_VOLUME_NAME
public static final MacHWDiskStore.CFKey DA_VOLUME_NAME
-
DA_MEDIA_SIZE
public static final MacHWDiskStore.CFKey DA_MEDIA_SIZE
-
DA_DEVICE_MODEL
public static final MacHWDiskStore.CFKey DA_DEVICE_MODEL
-
MODEL
public static final MacHWDiskStore.CFKey MODEL
-
-
Method Detail
-
values
public static MacHWDiskStore.CFKey[] 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 (MacHWDiskStore.CFKey c : MacHWDiskStore.CFKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MacHWDiskStore.CFKey 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
-
getKey
public java.lang.String getKey()
-
-