Class PhaseComparator

java.lang.Object
org.apache.maven.lifecycle.internal.PhaseComparator
All Implemented Interfaces:
Comparator<String>

public class PhaseComparator extends Object implements Comparator<String>
Compares phases within the context of a specific lifecycle with secondary sorting based on the PhaseId.
  • Constructor Details

    • PhaseComparator

      public PhaseComparator(List<String> lifecyclePhases)
      Constructor.
      Parameters:
      lifecyclePhases - the lifecycle phase ordering.
  • Method Details