Enum TapeDriveStatus
- java.lang.Object
-
- java.lang.Enum<TapeDriveStatus>
-
- fr.gouv.vitam.storage.offers.tape.dto.TapeDriveStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TapeDriveStatus>
public enum TapeDriveStatus extends java.lang.Enum<TapeDriveStatus>
For more information, @see http://manpagesfr.free.fr/man/man4/st.4.html
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getStatus()
static TapeDriveStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TapeDriveStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EOF
public static final TapeDriveStatus EOF
-
BOT
public static final TapeDriveStatus BOT
-
EOT
public static final TapeDriveStatus EOT
Deprecated.EndOfTape status is not properly handled by MTX utility. According to the man page of mtx utility : "In addition, MTX does not handle the end of tape properly."End of tape
-
SM
public static final TapeDriveStatus SM
-
EOD
public static final TapeDriveStatus EOD
-
WR_PROT
public static final TapeDriveStatus WR_PROT
-
ONLINE
public static final TapeDriveStatus ONLINE
-
D_6250
public static final TapeDriveStatus D_6250
-
D_1600
public static final TapeDriveStatus D_1600
-
D_800
public static final TapeDriveStatus D_800
-
DR_OPEN
public static final TapeDriveStatus DR_OPEN
-
IM_REP_EN
public static final TapeDriveStatus IM_REP_EN
-
CLN
public static final TapeDriveStatus CLN
-
-
Method Detail
-
values
public static TapeDriveStatus[] 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 (TapeDriveStatus c : TapeDriveStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TapeDriveStatus 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
-
getStatus
public java.lang.String getStatus()
-
-