public enum TapeDriveState extends java.lang.Enum<TapeDriveState>
Enum Constant and Description |
---|
ERROR |
NORMAL |
NOT_COMPATIBLE_IN_PARTITION_DUE_TO_NEWER_TAPE_DRIVES |
OFFLINE |
Modifier and Type | Method and Description |
---|---|
static TapeDriveState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TapeDriveState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TapeDriveState OFFLINE
public static final TapeDriveState NORMAL
public static final TapeDriveState ERROR
public static final TapeDriveState NOT_COMPATIBLE_IN_PARTITION_DUE_TO_NEWER_TAPE_DRIVES
public static TapeDriveState[] values()
for (TapeDriveState c : TapeDriveState.values()) System.out.println(c);
public static TapeDriveState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null