Search in sources :

Example 1 with OrderLogList

use of com.emc.vipr.model.catalog.OrderLogList in project coprhd-controller by CoprHD.

the class OrderMapper method toOrderLogList.

public static OrderLogList toOrderLogList(List<ExecutionLog> executionLogs) {
    OrderLogList list = new OrderLogList();
    for (ExecutionLog executionLog : executionLogs) {
        OrderLogRestRep orderLogRestRep = map(executionLog);
        list.getOrderLogs().add(orderLogRestRep);
    }
    return list;
}
Also used : ExecutionLog(com.emc.storageos.db.client.model.uimodels.ExecutionLog) OrderLogList(com.emc.vipr.model.catalog.OrderLogList) OrderLogRestRep(com.emc.vipr.model.catalog.OrderLogRestRep)

Aggregations

ExecutionLog (com.emc.storageos.db.client.model.uimodels.ExecutionLog)1 OrderLogList (com.emc.vipr.model.catalog.OrderLogList)1 OrderLogRestRep (com.emc.vipr.model.catalog.OrderLogRestRep)1