Class ReadWriteResult
- java.lang.Object
-
- fr.gouv.vitam.storage.offers.tape.worker.tasks.ReadWriteResult
-
public class ReadWriteResult extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReadWriteResult()
ReadWriteResult(StatusCode status, QueueState state, TapeCatalog currentTape)
ReadWriteResult(StatusCode status, QueueState state, TapeCatalog currentTape, TapeResponse tapeResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadWriteErrorCode
getCode()
TapeCatalog
getCurrentTape()
QueueState
getOrderState()
StatusCode
getStatus()
TapeResponse
getTapeResponse()
void
setCode(ReadWriteErrorCode code)
void
setCurrentTape(TapeCatalog currentTape)
void
setOrderState(QueueState orderState)
void
setStatus(StatusCode status)
void
setTapeResponse(TapeResponse tapeResponse)
-
-
-
Constructor Detail
-
ReadWriteResult
public ReadWriteResult()
-
ReadWriteResult
public ReadWriteResult(StatusCode status, QueueState state, TapeCatalog currentTape, TapeResponse tapeResponse)
-
ReadWriteResult
public ReadWriteResult(StatusCode status, QueueState state, TapeCatalog currentTape)
-
-
Method Detail
-
getStatus
public StatusCode getStatus()
-
setStatus
public void setStatus(StatusCode status)
-
getOrderState
public QueueState getOrderState()
-
setOrderState
public void setOrderState(QueueState orderState)
-
getCurrentTape
public TapeCatalog getCurrentTape()
-
setCurrentTape
public void setCurrentTape(TapeCatalog currentTape)
-
getTapeResponse
public TapeResponse getTapeResponse()
-
setTapeResponse
public void setTapeResponse(TapeResponse tapeResponse)
-
getCode
public ReadWriteErrorCode getCode()
-
setCode
public void setCode(ReadWriteErrorCode code)
-
-