org.apache.maven.lifecycle.internal
Class DefaultLifecycleTaskSegmentCalculator
java.lang.Object
  
org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator
- All Implemented Interfaces: 
 - LifecycleTaskSegmentCalculator
 
@Component(role=LifecycleTaskSegmentCalculator.class)
public class DefaultLifecycleTaskSegmentCalculator
- extends Object
- implements LifecycleTaskSegmentCalculator
  
Calculates the task segments in the build
- Since:
 
  - 3.0
 
- Author:
 
  - Benjamin Bentmann, Jason van Zyl, jdcasey, Kristian Rosenvold (extracted class)
         
         NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DefaultLifecycleTaskSegmentCalculator
public DefaultLifecycleTaskSegmentCalculator()
calculateTaskSegments
public List<TaskSegment> calculateTaskSegments(MavenSession session)
                                        throws PluginNotFoundException,
                                               PluginResolutionException,
                                               PluginDescriptorParsingException,
                                               MojoNotFoundException,
                                               NoPluginFoundForPrefixException,
                                               InvalidPluginDescriptorException,
                                               PluginVersionResolutionException,
                                               LifecyclePhaseNotFoundException,
                                               LifecycleNotFoundException
- Specified by:
 calculateTaskSegments in interface LifecycleTaskSegmentCalculator
 
- Throws:
 PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
MojoNotFoundException
NoPluginFoundForPrefixException
InvalidPluginDescriptorException
PluginVersionResolutionException
LifecyclePhaseNotFoundException
LifecycleNotFoundException
 
calculateTaskSegments
public List<TaskSegment> calculateTaskSegments(MavenSession session,
                                               List<String> tasks)
                                        throws PluginNotFoundException,
                                               PluginResolutionException,
                                               PluginDescriptorParsingException,
                                               MojoNotFoundException,
                                               NoPluginFoundForPrefixException,
                                               InvalidPluginDescriptorException,
                                               PluginVersionResolutionException
- Specified by:
 calculateTaskSegments in interface LifecycleTaskSegmentCalculator
 
- Throws:
 PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
MojoNotFoundException
NoPluginFoundForPrefixException
InvalidPluginDescriptorException
PluginVersionResolutionException
 
requiresProject
public boolean requiresProject(MavenSession session)
- Specified by:
 requiresProject in interface LifecycleTaskSegmentCalculator
 
 
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.