Package org.apache.maven.lifecycle
Class MavenExecutionPlan
java.lang.Object
org.apache.maven.lifecycle.MavenExecutionPlan
- All Implemented Interfaces:
- Iterable<ExecutionPlanItem>
MavenExecutionPlan
- 
Constructor SummaryConstructorsConstructorDescriptionMavenExecutionPlan(List<ExecutionPlanItem> planItem, DefaultLifecycles defaultLifecycles) 
- 
Method SummaryModifier and TypeMethodDescriptionfindLastInPhase(String requestedPhase) Returns the last ExecutionPlanItem in the supplied phase.Deprecated.Get set of mojos used but not marked @threadSafeGet set of plugins having a goal/mojo used but not marked @threadSafeiterator()intsize()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
MavenExecutionPlan
 
- 
- 
Method Details- 
iterator- Specified by:
- iteratorin interface- Iterable<ExecutionPlanItem>
 
- 
findLastInPhaseReturns 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
- 
getNonThreadSafePluginsGet set of plugins having a goal/mojo used but not marked @threadSafe- Returns:
- the set of plugins (without info on which goal is concerned)
 
- 
getNonThreadSafeMojosGet set of mojos used but not marked @threadSafe- Returns:
- the set of mojo descriptors
 
- 
getExecutionsDeprecated.
- 
sizepublic int size()
 
-