Class MavenExecutionPlan

java.lang.Object
org.apache.maven.lifecycle.MavenExecutionPlan
All Implemented Interfaces:
Iterable<ExecutionPlanItem>

public class MavenExecutionPlan extends Object implements Iterable<ExecutionPlanItem>
MavenExecutionPlan
  • Constructor Details Link icon

  • Method Details Link icon

    • iterator Link icon

      public Iterator<ExecutionPlanItem> iterator()
      Specified by:
      iterator in interface Iterable<ExecutionPlanItem>
    • findLastInPhase Link icon

      public ExecutionPlanItem findLastInPhase(String requestedPhase)
      Returns the last ExecutionPlanItem in the supplied phase. If no items are in the specified phase, the closest executionPlanItem from an earlier phase item will be returned.
      Parameters:
      requestedPhase - the requested phase The execution plan item
      Returns:
      The ExecutionPlanItem or null if none can be found
    • getMojoExecutions Link icon

      public List<MojoExecution> getMojoExecutions()
    • getNonThreadSafePlugins Link icon

      public Set<Plugin> getNonThreadSafePlugins()
      Get set of plugins having a goal/mojo used but not marked @threadSafe
      Returns:
      the set of plugins (without info on which goal is concerned)
    • getNonThreadSafeMojos Link icon

      public Set<MojoDescriptor> getNonThreadSafeMojos()
      Get set of mojos used but not marked @threadSafe
      Returns:
      the set of mojo descriptors
    • getExecutions Link icon

      @Deprecated public List<MojoExecution> getExecutions()
      Deprecated.
    • size Link icon

      public int size()