Search in sources :

Example 1 with TaskRest

use of org.bf2.srs.fleetmanager.rest.privateapi.beans.TaskRest in project srs-fleet-manager by bf2fc6cc711aee1a0c2a.

the class Convert method convert.

public TaskRest convert(Task data) {
    TaskRest res = new TaskRest();
    res.setId(data.getId());
    res.setData(data.getData());
    res.setSchedule(convert(data.getSchedule()));
    res.setType(data.getType());
    return res;
}
Also used : TaskRest(org.bf2.srs.fleetmanager.rest.privateapi.beans.TaskRest)

Aggregations

TaskRest (org.bf2.srs.fleetmanager.rest.privateapi.beans.TaskRest)1