Retrieves device notification history for the monitored objects in a cluster.
Collection<DeviceNotificationHistoryVO> getDeviceNotificationHistory(Collection<MonitoredObject> monitoredObjects, Date startTime, Date endTime, Long offset, Integer length, SortedField<? extends Enum> sortedField) throws SUPAdminException;
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
MonitoredCluster mc = new MonitoredCluster(); mc.addMonitoredDomain(new MonitoredDomain("default")); Collection<MonitoredObject> mos = Arrays .asList(new MonitoredObject[] { mc }); System.out.println(supMonitor.getDeviceNotificationHistory(mos, null, null, null, null, null));