use of com.blackducksoftware.integration.hub.service.model.PhoneHomeResponse in project hub-alert by blackducksoftware.
the class DailyItemReader method read.
@Override
public List<NotificationModel> read() throws Exception, UnexpectedInputException, ParseException, NonTransientResourceException {
List<NotificationModel> notificationList;
PhoneHomeResponse phoneHomeResponse = null;
try {
notificationList = super.read();
phoneHomeResponse = phoneHome();
} finally {
if (phoneHomeResponse != null) {
phoneHomeResponse.endPhoneHome();
}
}
return notificationList;
}
Aggregations