public class TryAndRetryData extends Object
| Constructor and Description |
|---|
TryAndRetryData() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeStatus(String offerId,
javax.ws.rs.core.Response.Status status)
Change the status of an offer id transfer
|
Map<String,javax.ws.rs.core.Response.Status> |
getGlobalOfferResult()
Get global result for storage distribution
|
List<String> |
getKoList()
Get the KO offers list
|
List<String> |
getOkList()
Get OK offers list
|
void |
koListToOkList(String offerId)
Pass offerId fro KO offers list to OK offers list
|
void |
populateFromOfferReferences(List<OfferReference> offerReferences)
Populate KO offer with offerReferences list to start a new object
transfer
|
void |
setKoList(List<String> koList)
Set the KO offers list
|
void |
setOkList(List<String> okList)
Set Ok offers list
|
public void populateFromOfferReferences(List<OfferReference> offerReferences)
offerReferences - list of offer referencepublic void setOkList(List<String> okList)
okList - the ok offer listpublic void setKoList(List<String> koList)
koList - the KO offers listpublic Map<String,javax.ws.rs.core.Response.Status> getGlobalOfferResult()
public void koListToOkList(String offerId)
offerId - the offerIdpublic void changeStatus(String offerId, javax.ws.rs.core.Response.Status status)
offerId - the offerIdstatus - the response status to setCopyright © 2018 Vitam. All rights reserved.