org.apache.maven.lifecycle.internal
Class DefaultLifecycleExecutionPlanCalculator

java.lang.Object
  extended by org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator
All Implemented Interfaces:
LifecycleExecutionPlanCalculator

@Component(role=LifecycleExecutionPlanCalculator.class)
public class DefaultLifecycleExecutionPlanCalculator
extends Object
implements LifecycleExecutionPlanCalculator

Since:
3.0
Author:
Benjamin Bentmann, Kristian Rosenvold (Extract class)

NOTE: This class is not part of any public api and can be changed or deleted without prior notice.


Constructor Summary
DefaultLifecycleExecutionPlanCalculator()
           
DefaultLifecycleExecutionPlanCalculator(BuildPluginManager pluginManager, DefaultLifecycles defaultLifeCycles, MojoDescriptorCreator mojoDescriptorCreator, LifecyclePluginResolver lifecyclePluginResolver, DefaultSchedules defaultSchedules)
           
 
Method Summary
 MavenExecutionPlan calculateExecutionPlan(MavenSession session, MavenProject project, List<Object> tasks)
           
 void calculateForkedExecutions(MojoExecution mojoExecution, MavenSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLifecycleExecutionPlanCalculator

public DefaultLifecycleExecutionPlanCalculator()

DefaultLifecycleExecutionPlanCalculator

public DefaultLifecycleExecutionPlanCalculator(BuildPluginManager pluginManager,
                                               DefaultLifecycles defaultLifeCycles,
                                               MojoDescriptorCreator mojoDescriptorCreator,
                                               LifecyclePluginResolver lifecyclePluginResolver,
                                               DefaultSchedules defaultSchedules)
Method Detail

calculateExecutionPlan

public MavenExecutionPlan calculateExecutionPlan(MavenSession session,
                                                 MavenProject project,
                                                 List<Object> tasks)
                                          throws PluginNotFoundException,
                                                 PluginResolutionException,
                                                 LifecyclePhaseNotFoundException,
                                                 PluginDescriptorParsingException,
                                                 MojoNotFoundException,
                                                 InvalidPluginDescriptorException,
                                                 NoPluginFoundForPrefixException,
                                                 LifecycleNotFoundException,
                                                 PluginVersionResolutionException
Specified by:
calculateExecutionPlan in interface LifecycleExecutionPlanCalculator
Throws:
PluginNotFoundException
PluginResolutionException
LifecyclePhaseNotFoundException
PluginDescriptorParsingException
MojoNotFoundException
InvalidPluginDescriptorException
NoPluginFoundForPrefixException
LifecycleNotFoundException
PluginVersionResolutionException

calculateForkedExecutions

public void calculateForkedExecutions(MojoExecution mojoExecution,
                                      MavenSession session)
                               throws MojoNotFoundException,
                                      PluginNotFoundException,
                                      PluginResolutionException,
                                      PluginDescriptorParsingException,
                                      NoPluginFoundForPrefixException,
                                      InvalidPluginDescriptorException,
                                      LifecyclePhaseNotFoundException,
                                      LifecycleNotFoundException,
                                      PluginVersionResolutionException
Specified by:
calculateForkedExecutions in interface LifecycleExecutionPlanCalculator
Throws:
MojoNotFoundException
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
NoPluginFoundForPrefixException
InvalidPluginDescriptorException
LifecyclePhaseNotFoundException
LifecycleNotFoundException
PluginVersionResolutionException


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