Enum Class PhaseExecutionPoint

java.lang.Object
java.lang.Enum<PhaseExecutionPoint>
org.apache.maven.lifecycle.internal.PhaseExecutionPoint
All Implemented Interfaces:
Serializable, Comparable<PhaseExecutionPoint>, Constable

public enum PhaseExecutionPoint extends Enum<PhaseExecutionPoint>
Represents where a dynamic phase should be executed within a static phase.
  • Enum Constant Details

    • BEFORE

      public static final PhaseExecutionPoint BEFORE
      Execution must occur before any executions of the phase proper. Failure of any #BEFORE dynamic phase execution will prevent the AT phase but will not prevent any AFTER dynamic phases.
    • AT

      public static final PhaseExecutionPoint AT
      Execution is the execution of the phase proper. Failure of any #AT dynamic phase execution will fail the phase. Any AFTER phases will still be executed.
    • AFTER

      public static final PhaseExecutionPoint AFTER
      Guaranteed execution dynamic phases on completion of the static phase. All #AFTER dynamic phases will be executed provided at least one BEFORE or AT dynamic phase has started execution.
  • Method Details

    • values

      public static PhaseExecutionPoint[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PhaseExecutionPoint valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • prefix

      public String prefix()