public class MavenExecutionPlan extends java.lang.Object implements java.lang.Iterable<ExecutionPlanItem>
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,ExecutionPlanItem> |
lastMojoExecutionForAllPhases |
(package private) java.util.List<java.lang.String> |
phasesInExecutionPlan |
private java.util.List<ExecutionPlanItem> |
planItem |
Constructor and Description |
---|
MavenExecutionPlan(java.util.List<ExecutionPlanItem> planItem,
DefaultLifecycles defaultLifecycles) |
Modifier and Type | Method and Description |
---|---|
ExecutionPlanItem |
findLastInPhase(java.lang.String requestedPhase)
Returns the last ExecutionPlanItem in the supplied phase.
|
private static java.lang.Iterable<java.lang.String> |
getDistinctPhasesInOrderOfExecutionPlanAppearance(java.util.List<ExecutionPlanItem> planItems) |
private java.util.List<ExecutionPlanItem> |
getExecutionPlanItems() |
java.util.List<MojoExecution> |
getExecutions()
Deprecated.
|
java.util.List<MojoExecution> |
getMojoExecutions() |
java.util.Set<MojoDescriptor> |
getNonThreadSafeMojos()
Get set of mojos used but not marked @threadSafe
|
java.util.Set<Plugin> |
getNonThreadSafePlugins()
Get set of plugins having a goal/mojo used but not marked @threadSafe
|
java.util.Iterator<ExecutionPlanItem> |
iterator() |
int |
size() |
private final java.util.List<ExecutionPlanItem> planItem
private final java.util.Map<java.lang.String,ExecutionPlanItem> lastMojoExecutionForAllPhases
final java.util.List<java.lang.String> phasesInExecutionPlan
public MavenExecutionPlan(java.util.List<ExecutionPlanItem> planItem, DefaultLifecycles defaultLifecycles)
public java.util.Iterator<ExecutionPlanItem> iterator()
iterator
in interface java.lang.Iterable<ExecutionPlanItem>
public ExecutionPlanItem findLastInPhase(java.lang.String requestedPhase)
requestedPhase
- the requested phase
The execution plan itemprivate java.util.List<ExecutionPlanItem> getExecutionPlanItems()
private static java.lang.Iterable<java.lang.String> getDistinctPhasesInOrderOfExecutionPlanAppearance(java.util.List<ExecutionPlanItem> planItems)
public java.util.List<MojoExecution> getMojoExecutions()
public java.util.Set<Plugin> getNonThreadSafePlugins()
public java.util.Set<MojoDescriptor> getNonThreadSafeMojos()
@Deprecated public java.util.List<MojoExecution> getExecutions()
public int size()