org.apache.maven.model.converter
Class PluginComparator

java.lang.Object
  extended by org.apache.maven.model.converter.PluginComparator
All Implemented Interfaces:
Comparator

public class PluginComparator
extends Object
implements Comparator

A comparator for Plugins. It compares the plugins' groupIds and artifactIds.

Version:
$Id: PluginComparator.java 661727 2008-05-30 14:21:49Z bentmann $
Author:
Dennis Lundberg

Constructor Summary
PluginComparator()
           
 
Method Summary
 int compare(Object o1, Object 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

PluginComparator

public PluginComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.