Class PhaseComparator
java.lang.Object
org.apache.maven.lifecycle.internal.PhaseComparator
- All Implemented Interfaces:
Comparator<String>
Compares phases within the context of a specific lifecycle with secondary sorting based on the
PhaseId
.-
Constructor Summary
-
Method Summary
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
PhaseComparator
Constructor.- Parameters:
lifecyclePhases
- the lifecycle phase ordering.
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<String>
-