org.apache.maven.lifecycle
Class MavenExecutionPlan

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

public class MavenExecutionPlan
extends java.lang.Object
implements java.lang.Iterable<ExecutionPlanItem>


Constructor Summary
MavenExecutionPlan(java.util.List<ExecutionPlanItem> planItem, DefaultLifecycles defaultLifecycles)
           
 
Method Summary
 boolean containsPhase(java.lang.String phase)
           
 ExecutionPlanItem findLastInPhase(java.lang.String requestedPhase)
          Returns the last ExecutionPlanItem in the supplied phase.
 void forceAllComplete()
           
 java.util.List<MojoExecution> getExecutions()
          Deprecated. 
 java.util.List<MojoExecution> getMojoExecutions()
           
 java.util.Set<Plugin> getNonThreadSafePlugins()
           
 java.util.Iterator<ExecutionPlanItem> iterator()
           
 int size()
           
 void waitUntilAllDone()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenExecutionPlan

public MavenExecutionPlan(java.util.List<ExecutionPlanItem> planItem,
                          DefaultLifecycles defaultLifecycles)
Method Detail

iterator

public java.util.Iterator<ExecutionPlanItem> iterator()
Specified by:
iterator in interface java.lang.Iterable<ExecutionPlanItem>

findLastInPhase

public ExecutionPlanItem findLastInPhase(java.lang.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

forceAllComplete

public void forceAllComplete()

waitUntilAllDone

public void waitUntilAllDone()
                      throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

containsPhase

public boolean containsPhase(java.lang.String phase)

getMojoExecutions

public java.util.List<MojoExecution> getMojoExecutions()

getNonThreadSafePlugins

public java.util.Set<Plugin> getNonThreadSafePlugins()

getExecutions

@Deprecated
public java.util.List<MojoExecution> getExecutions()
Deprecated. 


size

public int size()


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.