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
.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe lifecycle phase ordering. -
Constructor Summary
Constructors -
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
-
Field Details
-
lifecyclePhases
The lifecycle phase ordering.
-
-
Constructor Details
-
PhaseComparator
Constructor.- Parameters:
lifecyclePhases
- the lifecycle phase ordering.
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<String>
-