use of org.apache.ranger.plugin.model.RangerPluginInfo in project ranger by apache.
the class RangerPluginInfoService method populateViewObject.
public RangerPluginInfo populateViewObject(XXPluginInfo xObj) {
RangerPluginInfo ret = new RangerPluginInfo();
ret.setId(xObj.getId());
ret.setCreateTime(xObj.getCreateTime());
ret.setUpdateTime(xObj.getUpdateTime());
ret.setServiceName(xObj.getServiceName());
ret.setHostName(xObj.getHostName());
ret.setAppType(xObj.getAppType());
ret.setIpAddress(xObj.getIpAddress());
ret.setInfo(jsonStringToMap(xObj.getInfo(), null, false));
return ret;
}
Aggregations