org.opennms.web.svclayer.support
Class DefaultDistributedStatusService.ServiceGraphComparator
java.lang.Object
org.opennms.web.svclayer.support.DefaultDistributedStatusService.ServiceGraphComparator
- All Implemented Interfaces:
- Serializable, Comparator<DistributedStatusHistoryModel.ServiceGraph>
- Enclosing class:
- DefaultDistributedStatusService
public static class DefaultDistributedStatusService.ServiceGraphComparator
- extends Object
- implements Comparator<DistributedStatusHistoryModel.ServiceGraph>, Serializable
Comparator for ServiceGraph objects.
Orders objects with no errors and then those with errors and orders within
each of these groups by the service ordering (see MonitoredServiceComparator).
- Author:
- DJ Gregor
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDistributedStatusService.ServiceGraphComparator
public DefaultDistributedStatusService.ServiceGraphComparator()
compare
public int compare(DistributedStatusHistoryModel.ServiceGraph o1,
DistributedStatusHistoryModel.ServiceGraph o2)
- Specified by:
compare in interface Comparator<DistributedStatusHistoryModel.ServiceGraph>
Copyright © 2009. All Rights Reserved.