Class PhaseId

java.lang.Object
org.apache.maven.lifecycle.internal.PhaseId

public class PhaseId extends Object
Represents a parsed phase identifier.
  • Field Details

    • INSTANCES

      private static final Map<String,PhaseId> INSTANCES
      Interned PhaseId instances.
    • executionPoint

      private final PhaseExecutionPoint executionPoint
      The execution point of this PhaseId.
    • phase

      private final String phase
      The static phase that this dynamic phase belongs to.
    • priority

      private final int priority
      The priority of this dynamic phase within the static phase.
  • Constructor Details

    • PhaseId

      private PhaseId(String phase)
      Constructor.
      Parameters:
      phase - the phase identifier string.
  • Method Details

    • of

      public static PhaseId of(String phase)
      Parses the phase identifier.
      Parameters:
      phase - the phase identifier.
      Returns:
      the PhaseId.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • executionPoint

      public PhaseExecutionPoint executionPoint()
    • phase

      public String phase()
    • priority

      public int priority()