Class VirtualDrive
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.simulator.VirtualDrive
-
public class VirtualDrive extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VirtualDrive(int driveIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getBeginningOfTape()
VirtualTape
getCurrentTape()
int
getDriveIndex()
java.lang.Boolean
getEndOfData()
java.lang.Boolean
getEndOfFile()
java.lang.Integer
getFilePosition()
java.lang.Integer
getPreviousTapeSlot()
VirtualDriveState
getState()
VirtualDrive
setBeginningOfTape(java.lang.Boolean beginningOfTape)
VirtualDrive
setCurrentTape(VirtualTape currentTape)
VirtualDrive
setEndOfData(java.lang.Boolean endOfData)
VirtualDrive
setEndOfFile(java.lang.Boolean endOfFile)
VirtualDrive
setFilePosition(java.lang.Integer filePosition)
VirtualDrive
setPreviousTapeSlot(java.lang.Integer previousTapeSlot)
VirtualDrive
setState(VirtualDriveState state)
-
-
-
Method Detail
-
getDriveIndex
public int getDriveIndex()
-
getState
public VirtualDriveState getState()
-
setState
public VirtualDrive setState(VirtualDriveState state)
-
getCurrentTape
public VirtualTape getCurrentTape()
-
setCurrentTape
public VirtualDrive setCurrentTape(VirtualTape currentTape)
-
getPreviousTapeSlot
public java.lang.Integer getPreviousTapeSlot()
-
setPreviousTapeSlot
public VirtualDrive setPreviousTapeSlot(java.lang.Integer previousTapeSlot)
-
getFilePosition
public java.lang.Integer getFilePosition()
-
setFilePosition
public VirtualDrive setFilePosition(java.lang.Integer filePosition)
-
getBeginningOfTape
public java.lang.Boolean getBeginningOfTape()
-
setBeginningOfTape
public VirtualDrive setBeginningOfTape(java.lang.Boolean beginningOfTape)
-
getEndOfFile
public java.lang.Boolean getEndOfFile()
-
setEndOfFile
public VirtualDrive setEndOfFile(java.lang.Boolean endOfFile)
-
getEndOfData
public java.lang.Boolean getEndOfData()
-
setEndOfData
public VirtualDrive setEndOfData(java.lang.Boolean endOfData)
-
-