org.apache.maven.lifecycle.internal
Interface LifecycleTaskSegmentCalculator

All Known Implementing Classes:
DefaultLifecycleTaskSegmentCalculator

public interface LifecycleTaskSegmentCalculator

Calculates the task segments in the build

Since:
3.0
Author:
Benjamin Bentmann, Jason van Zyl, jdcasey, Kristian Rosenvold (extracted interface)

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


Method Summary
 List<TaskSegment> calculateTaskSegments(MavenSession session)
           
 List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks)
           
 boolean requiresProject(MavenSession session)
           
 

Method Detail

calculateTaskSegments

List<TaskSegment> calculateTaskSegments(MavenSession session)
                                        throws PluginNotFoundException,
                                               PluginResolutionException,
                                               PluginDescriptorParsingException,
                                               MojoNotFoundException,
                                               NoPluginFoundForPrefixException,
                                               InvalidPluginDescriptorException,
                                               PluginVersionResolutionException,
                                               LifecyclePhaseNotFoundException,
                                               LifecycleNotFoundException
Throws:
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
MojoNotFoundException
NoPluginFoundForPrefixException
InvalidPluginDescriptorException
PluginVersionResolutionException
LifecyclePhaseNotFoundException
LifecycleNotFoundException

calculateTaskSegments

List<TaskSegment> calculateTaskSegments(MavenSession session,
                                        List<String> tasks)
                                        throws PluginNotFoundException,
                                               PluginResolutionException,
                                               PluginDescriptorParsingException,
                                               MojoNotFoundException,
                                               NoPluginFoundForPrefixException,
                                               InvalidPluginDescriptorException,
                                               PluginVersionResolutionException
Throws:
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
MojoNotFoundException
NoPluginFoundForPrefixException
InvalidPluginDescriptorException
PluginVersionResolutionException

requiresProject

boolean requiresProject(MavenSession session)


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