Class MtxTapeLibraryService
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.impl.robot.MtxTapeLibraryService
-
- All Implemented Interfaces:
TapeLoadUnloadService,TapeRobotSafeCommandService
public class MtxTapeLibraryService extends java.lang.Object implements TapeLoadUnloadService
-
-
Constructor Summary
Constructors Constructor Description MtxTapeLibraryService(TapeRobotConf tapeRobotConf, ProcessExecutor processExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessExecutorgetExecutor()TapeResponseloadTape(java.lang.Integer tapeIndex, java.lang.Integer driveIndex)TapeResponseloadTape(java.lang.String tapeIndex, java.lang.String driveIndex)TapeLibrarySpecstatus()TapeResponseunloadTape(java.lang.Integer tapeIndex, java.lang.Integer driveIndex)TapeResponseunloadTape(java.lang.String tapeIndex, java.lang.String driveIndex)
-
-
-
Field Detail
-
F
public static final java.lang.String F
- See Also:
- Constant Field Values
-
UNLOAD
public static final java.lang.String UNLOAD
- See Also:
- Constant Field Values
-
LOAD
public static final java.lang.String LOAD
- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MtxTapeLibraryService
public MtxTapeLibraryService(TapeRobotConf tapeRobotConf, ProcessExecutor processExecutor)
-
-
Method Detail
-
status
public TapeLibrarySpec status()
- Specified by:
statusin interfaceTapeRobotSafeCommandService
-
loadTape
public TapeResponse loadTape(java.lang.String tapeIndex, java.lang.String driveIndex)
- Specified by:
loadTapein interfaceTapeLoadUnloadService
-
unloadTape
public TapeResponse unloadTape(java.lang.String tapeIndex, java.lang.String driveIndex)
- Specified by:
unloadTapein interfaceTapeLoadUnloadService
-
loadTape
public TapeResponse loadTape(java.lang.Integer tapeIndex, java.lang.Integer driveIndex)
- Specified by:
loadTapein interfaceTapeLoadUnloadService
-
unloadTape
public TapeResponse unloadTape(java.lang.Integer tapeIndex, java.lang.Integer driveIndex)
- Specified by:
unloadTapein interfaceTapeLoadUnloadService
-
getExecutor
public ProcessExecutor getExecutor()
- Specified by:
getExecutorin interfaceTapeRobotSafeCommandService
-
-