public class MavenExecutionPlan extends Object implements Iterable<ExecutionPlanItem>
Constructor and Description |
---|
MavenExecutionPlan(List<ExecutionPlanItem> planItem,
DefaultLifecycles defaultLifecycles) |
Modifier and Type | Method and Description |
---|---|
ExecutionPlanItem |
findLastInPhase(String requestedPhase)
Returns the last ExecutionPlanItem in the supplied phase.
|
List<MojoExecution> |
getExecutions()
Deprecated.
|
List<MojoExecution> |
getMojoExecutions() |
Set<MojoDescriptor> |
getNonThreadSafeMojos()
Get set of mojos used but not marked @threadSafe
|
Set<Plugin> |
getNonThreadSafePlugins()
Get set of plugins having a goal/mojo used but not marked @threadSafe
|
Iterator<ExecutionPlanItem> |
iterator() |
int |
size() |
public MavenExecutionPlan(List<ExecutionPlanItem> planItem, DefaultLifecycles defaultLifecycles)
public Iterator<ExecutionPlanItem> iterator()
iterator
in interface Iterable<ExecutionPlanItem>
public ExecutionPlanItem findLastInPhase(String requestedPhase)
requestedPhase
- the requested phase
The execution plan itempublic List<MojoExecution> getMojoExecutions()
public Set<Plugin> getNonThreadSafePlugins()
public Set<MojoDescriptor> getNonThreadSafeMojos()
@Deprecated public List<MojoExecution> getExecutions()
public int size()
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.