Package fr.gouv.vitam.processing.model
Class WorkerAsyncResponse
- java.lang.Object
-
- fr.gouv.vitam.processing.model.WorkerAsyncResponse
-
public class WorkerAsyncResponse extends java.lang.Object
Class for manage the launch of an "async" response
-
-
Constructor Summary
Constructors Constructor Description WorkerAsyncResponse(WorkerAsyncRequest workerAsyncRequest, ItemStatus itemStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemStatus
getCompositeItemStatus()
WorkerAsyncRequest
getWorkerAsyncRequest()
WorkerAsyncResponse
setItemStatus(ItemStatus ItemStatus)
WorkerAsyncResponse
setWorkerAsyncRequest(WorkerAsyncRequest workerAsyncRequest)
-
-
-
Constructor Detail
-
WorkerAsyncResponse
public WorkerAsyncResponse(WorkerAsyncRequest workerAsyncRequest, ItemStatus itemStatus)
- Parameters:
workerAsyncRequest
- of typeWorkerAsyncRequest
itemStatus
- the item status of request
-
-
Method Detail
-
getCompositeItemStatus
public ItemStatus getCompositeItemStatus()
- Returns:
- the compositeItemStatus
-
setItemStatus
public WorkerAsyncResponse setItemStatus(ItemStatus ItemStatus)
- Parameters:
ItemStatus
- the ItemStatus to set- Returns:
- this
-
getWorkerAsyncRequest
public WorkerAsyncRequest getWorkerAsyncRequest()
- Returns:
- the workerAsyncRequest
-
setWorkerAsyncRequest
public WorkerAsyncResponse setWorkerAsyncRequest(WorkerAsyncRequest workerAsyncRequest)
- Parameters:
workerAsyncRequest
- the workerAsyncRequest to set- Returns:
- this
-
-