org.rhq.core.domain.drift
Class DriftDefinitionComparator
java.lang.Object
org.rhq.core.domain.drift.DriftDefinitionComparator
- All Implemented Interfaces:
- Comparator<DriftDefinition>
public class DriftDefinitionComparator
- extends Object
- implements Comparator<DriftDefinition>
Compares two DriftDefinition
objects. The comparison can either
compare basedir/includes-excludes filters or ignore them. Will also compare
name, interval, enabled flag.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DriftDefinitionComparator
public DriftDefinitionComparator(DriftDefinitionComparator.CompareMode mode)
compare
public int compare(DriftDefinition dc1,
DriftDefinition dc2)
- Specified by:
compare
in interface Comparator<DriftDefinition>
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.