public class MtxTapeLibraryService extends Object implements TapeLoadUnloadService
Modifier and Type | Field and Description |
---|---|
static String |
F |
static String |
LOAD |
static String |
STATUS |
static String |
UNLOAD |
Constructor and Description |
---|
MtxTapeLibraryService(TapeRobotConf tapeRobotConf,
ProcessExecutor processExecutor) |
Modifier and Type | Method and Description |
---|---|
ProcessExecutor |
getExecutor() |
TapeResponse |
loadTape(Integer tapeIndex,
Integer driveIndex) |
TapeResponse |
loadTape(String tapeIndex,
String driveIndex) |
TapeLibrarySpec |
status() |
TapeResponse |
unloadTape(Integer tapeIndex,
Integer driveIndex) |
TapeResponse |
unloadTape(String tapeIndex,
String driveIndex) |
public static final String F
public static final String UNLOAD
public static final String LOAD
public static final String STATUS
public MtxTapeLibraryService(TapeRobotConf tapeRobotConf, ProcessExecutor processExecutor)
public TapeLibrarySpec status()
status
in interface TapeRobotSafeCommandService
public TapeResponse loadTape(String tapeIndex, String driveIndex)
loadTape
in interface TapeLoadUnloadService
public TapeResponse unloadTape(String tapeIndex, String driveIndex)
unloadTape
in interface TapeLoadUnloadService
public TapeResponse loadTape(Integer tapeIndex, Integer driveIndex)
loadTape
in interface TapeLoadUnloadService
public TapeResponse unloadTape(Integer tapeIndex, Integer driveIndex)
unloadTape
in interface TapeLoadUnloadService
public ProcessExecutor getExecutor()
getExecutor
in interface TapeRobotSafeCommandService
Copyright © 2019 Vitam. All rights reserved.