use of org.bf2.srs.fleetmanager.rest.service.model.RegistryDeployment in project srs-fleet-manager by bf2fc6cc711aee1a0c2a.
the class Convert method convert.
public RegistryDeploymentRest convert(RegistryDeployment data) {
RegistryDeploymentRest res = new RegistryDeploymentRest();
res.setId(Optional.ofNullable(data.getId()).map(Long::intValue).orElse(// TODO Conversion
null));
res.setName(data.getName());
res.setStatus(convert(data.getStatus()));
res.setRegistryDeploymentUrl(data.getRegistryDeploymentUrl());
res.setTenantManagerUrl(data.getTenantManagerUrl());
return res;
}
Aggregations