org.opennms.web.svclayer.support
Class DefaultDistributedPollerService.OnmsLocationMonitorAreaNameComparator

java.lang.Object
  extended by org.opennms.web.svclayer.support.DefaultDistributedPollerService.OnmsLocationMonitorAreaNameComparator
All Implemented Interfaces:
Comparator<OnmsLocationMonitor>
Enclosing class:
DefaultDistributedPollerService

public class DefaultDistributedPollerService.OnmsLocationMonitorAreaNameComparator
extends Object
implements Comparator<OnmsLocationMonitor>

Sorts OnmsLocationMonitor by the area for the monitoring location definition (if any), then monitoring location definition name, and finally by location monitor ID.

Author:
djgregor

Constructor Summary
DefaultDistributedPollerService.OnmsLocationMonitorAreaNameComparator()
           
 
Method Summary
 int compare(OnmsLocationMonitor o1, OnmsLocationMonitor o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

DefaultDistributedPollerService.OnmsLocationMonitorAreaNameComparator

public DefaultDistributedPollerService.OnmsLocationMonitorAreaNameComparator()
Method Detail

compare

public int compare(OnmsLocationMonitor o1,
                   OnmsLocationMonitor o2)
Specified by:
compare in interface Comparator<OnmsLocationMonitor>


Copyright © 2009. All Rights Reserved.