Search in sources :

Example 1 with ServiceStatus

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

the class Convert method convert.

public ServiceStatus convert(ServiceStatusDto status) {
    ServiceStatus res = new ServiceStatus();
    res.setMaxInstancesReached(status.isMaxInstancesReached());
    return res;
}
Also used : ServiceStatus(org.bf2.srs.fleetmanager.rest.publicapi.beans.ServiceStatus)

Aggregations

ServiceStatus (org.bf2.srs.fleetmanager.rest.publicapi.beans.ServiceStatus)1